ax²+ay²-2axy-ab²
=a(x²+y²-2xy -b²)
=a[(x-y)²-b²]
=a(x-y+b)(x-y-b)
x²-6xy+9y²-4x+12y
=(x-3y)²-4(x-3y)
=(x-3y)(x-3y-4)
9a²+18a+9-b²-4b-4
=9(a²+2a+1)-(b²+4b+4)
=9(a+1)²-(b+2)²
=[3(a+1)+(b+2)][3(a+1)-(b+2)]
=(3a+b+5)(3a-b+1)
ax²+ay²-2axy-ab²
=a(x²+y²-2xy -b²)
=a[(x-y)²-b²]
=a(x-y+b)(x-y-b)
x²-6xy+9y²-4x+12y
=(x-3y)²-4(x-3y)
=(x-3y)(x-3y-4)
9a²+18a+9-b²-4b-4
=9(a²+2a+1)-(b²+4b+4)
=9(a+1)²-(b+2)²
=[3(a+1)+(b+2)][3(a+1)-(b+2)]
=(3a+b+5)(3a-b+1)