SOLUTION
Write out the equation given

Rewrite the equation as

Then, the equation 1 becomes

Then, equation 2 becomes

Then, the new equation becomes

Then we solve the system of equation above

Then , substitute into the second equation, we have

Then isolate q from the eequation above, we have

Hence

Hence q=1
Substitute to find the value of p, we have

P = 3
Recall that

Hence

Thus,

Therefore
x=1, y= -1