The factors of x3−1+y3+3xy are
(x−1+y)(x2+1+y2+x+y−xy)
(x+y+1)(x2+y2+1−xy−x−y)
(x−1+y)(x2−1−y2+x+y+xy)
3(x+−1)(x2+y2−1)
x3−1a+y3+3xy=(x)3+(−1)3+(y)3−3×x×(−1)×y=(x−1+y)(x2+1y2+x+y−xy) =(x−1+y)(x2+1+y2+x+y−xy)