Using Cramer's rule to solve a 3x3 system of linear equations