How to factor this?
expand it out
then rearrange the pairs
Then factor again.
Hint:
One both the factors will be (x-a)
We distribute to get −a^2x+ax^2−ay^2+xy^2 or \(−a^2x+ax^2−ay^2+xy^2\)