Factorization: X (Y-1) + y (1-y) =?

Factorization: X (Y-1) + y (1-y) =?


The original formula = xy-x + Y-Y & sup2;
=xy-y²-(x-y)
=y(x-y)-(x-y)
=(x-y)(y-1)



Is x ^ 2-1 / y ^ 2 factorization


x^2-1/y^2
=(x+1/y)(x-1/y)
It can be factorized



Factorization of (x + y) ^ 2 - 2 (X-Y) + 1


Is this wrong, otherwise it can't be decomposed!
(x+y)²-2(x+y)+1
=[(x+y)-1]²
=(x+y-1)²
(x-y)²-2(x-y)+1
=[(x-y)-1]²
=(x-y-1)²