x^2+y^2+6y-2xy-6x+9

问题描述:

x^2+y^2+6y-2xy-6x+9

原式=(x²-2xy+y²)-6x+6y+9
=(x-y)²-6(x-y)+9
=(x-y-3)²