integral ordered pair $(x,y)$ in $x^2+y^2=2x+2y+xy$ 
Find all possible integral ordered pair $(x,y)$ in $x^2+y^2=2x+2y+xy$

what i try $y^2-(x+2)y+x^2-2x=0$
$$y=\frac{x+2\pm\sqrt{(x+2)^2-4(x^2-2x)}}{2}$$
$$y=\frac{x+2\pm \sqrt{-3x^2+12x+4}}{2}$$
How do i solve it Help me please 

The equation is equivalent to $(x-y)^{2}+(x-2)^{2}+(y-2)^{2}=8$. However due to symmetry we can assume $x-y\geq 0$ but then there are only three possible choices $x-y=0,1,2$. If $x-y=0$ $(x,y)=(0,0),(4,4)$ if $x-y=1$ then $7=(y-1)^{2}+(y-2)^{2}=0+7=1+6=2+5=3+4$ so no solution.
If $x-y=2$ then $y^{2}+(y-2)^{2}=4=0+4=3+1=2+2$ thus only possible $y=0$ or $y=2$ thus $(x,y)=(2,0),(4,2)$.
Thus all possible solutions are $(x,y)=(2,0),(0,2),(4,2),(2,4),(0,0),(4,4)$
