Answer:
[tex]\left(x-y\right)^2\left(1-x+y\right)[/tex]
Step-by-step explanation:
You factor out the common term first.
You should get the equation below.
[tex]\left(x-y\right)^2\left(1-\left(x-y\right)\right)[/tex]
then you get rid of the negative inside[tex]\left(1-\left(x-y\right)\right)[/tex]
and will be simplified to this.
[tex]\left(x-y\right)^2\left(1-x+y\right)[/tex]