>>696
前半
(x^2-xz)-(xy-yz)
=x(x-z)-y(x-z)
=(x-y)(x-z)

後半
(xy+bx)-(ay+ab)
=x(y+b)-a(y+b)
=(x-a)(y+b)