Solving Equations for x and y