xy=2x-y
=>xy-2x+y=0
=>x(y-2)+y-2=-2
=>(x+1)(y-2)=-2
=>\(\left(x+1;y-2\right)\in\left\{\left(1;-2\right);\left(-2;1\right);\left(-1;2\right);\left(2;-1\right)\right\}\)
=>\(\left(x;y\right)\in\left\{\left(0;0\right);\left(-3;3\right);\left(-2;4\right);\left(1;1\right)\right\}\)