solve the 2 equations then if : X and Y are positive then it is the first quad
if X is negative and Y is positive then it is in second quad
if X is negative and Y is negative then it is 3rd quad
if X is positive and Y is negative then it is the 4th quad
(look at the signs of numbers solved by the equation)