Solve the system of equations.