how do you check if an ordered pair is a solution of a system of equations?