Find the equation of the locus of the point P as it moves equidistant from the lines $x = 1$ and $y = 1$
I cannot see where I am going wrong here.
I say,
$|x-1| = |y-1|$
$(x-1)^2 = (y-1)^2\implies x^2-y^2=2x-2y$
$\implies (x-y)(x+y)=2(x-y)\implies x+y-2=0$
but my books says the answer is $(x-y)(x+y-2) = 0$