if xy=0 then x or/and y must be 0 so we try to get it to zero later
so first we get the square root on one side by itself
so subtract x^2-5 from both sides (-x^2+5 to both sides)
√(x^2-5x+7)=-x^2+5x+5
square both sides (or both sides to the ^2 power)
gets rid of the √
x^2-5x+7=(-x^2+5x+5)^2=x^4-10x^3+15x^2+50x+25
so subtract x^2 from both sides
-5x+7=x^4-10x^3+14x^2+50x+25
add 5x to both sides
7=x^4-10x^3+14x^2+55x+25
subtract 7 from both sides
0=x^4-10x^3+14x^2+55x+18
factor
(x^2-5x-9)(x^2-5x-2)=0
(x^2-5x-9)=0
(x^2-5x-2)=0
I'm not sure how to proceed but if you can find the factors of (x^2-5x-2) and (x^2-5x-9) and set them to zero, you can get the answers