Cramer's rule for solving systems of equations