Solve the simultaneous equation

xy =4 and x-y =3

since y = 4/x, we have

x - 4/x = 3
x^2-4 = 3x
x^2-3x+4 = 0
(x-4)(x+1) = 0
so the two solutions are (4,1) and (-1,-4)