Compute the determinants in cofactor expansions. At each step, choose a row or column that involves the least amount of computation.

The expansion of a 3 X 3 determinant can be remembered by the following device. Write a second copy of the first two columns to the right of the matrix, and compute the determinant by multiplying entries on six diagonals:
