Apply systems of equations in solving problems