P(-3;10) and Q(3;4) are vertices of triangle PQR. If the angle at Q= 90* determine the possible coordinates or R if QR= 4sqrt2 (sqrt32).

I've tried the distance formula for point on a cartesian plane but then I get an equation with x's and y's which I cant do. I understand that there must be two answers because the line could go up or down on the angle with the distance being equal.

The answer in the book is R1=(1;2) and R2=(5;7)

Oh and this will be my last exam for the mid year exam period