general, x-y is a factor of x³-y³ = (x-y)(x²+xy+y²), while x+y is a factor of x³+y³ = (x+y)(x²-xy+y²).