ad-ac+bc-bd
=(ad-ac)-(bd-bc)
=a(d-c)-b(d-c)
(a-b)(d-c)
x²-y²-6x+9
=(x²-6x+9)-y²
=(x-3)²-y²
=(x-3+y)(x-3-y)