x2 - x - y2 - y
= (x - y)(x + y) - (x + y)
= (x + y)(x - y - 1)
***
9x2 + y2 - 16z2 + 6xy
= (3x + y)2 - (4z)2
= (3x + y - 4z)(3x + y + 4z)
***
a3 - a2x - ay + xy
= a2(a - x) - y(a - x)
= (a - x)(a2 - y)
***
2x2 - 8y2 + 3x + 6y
= 2(x2 - 4y2) + 3(x + 2y)
= 2(x - 2y)(x + 2y) + 3(x + 2y)
= (x + 2y)(2x - 4y + 3)
***
xy(x + y) + yz(y + z) + xz(x + z) + 2xyz
= xy(x + y + z) + yz(x + y + z) + xz(x + z)
= y(x + y + z)(x + z) + xz(x + z)
= (x + z)(xy + y2 + yz + xz)
= (x + z)[y(x + y) + z(x + y)]
= (x + z)(x + y)(y + z)