x^3+x^2y-xy^2-y^3
=x^2(X+Y)-y^2(x+y)
=(x+y)(x^2-y^2)
=(x+y)(x+y)(x-y)
=(x+y)^2(x-y)
你的结果是对的,但还可以再分解呀!
(x+y)^2(x-y)才是完整的!