这两项有公因式(x+y)(x-y)
(x+y)²(x-y)+(x+y)(x-y)²
=(x+y)(x-y)(x+y)+(x+y)(x-y)(x-y)
=(x+y)(x-y)(x+y+x-y)
=(x+y)(x-y)(2x)
=2x(x+y)(x-y)
这两项有公因式(x+y)(x-y)
(x+y)²(x-y)+(x+y)(x-y)²
=(x+y)(x-y)(x+y)+(x+y)(x-y)(x-y)
=(x+y)(x-y)(x+y+x-y)
=(x+y)(x-y)(2x)
=2x(x+y)(x-y)