Factorise x(x−y)3+3x2y(x−y)
x(x−y)3+3x2y(x−y)=x(x−y)(x−y)(x−y)+3×x×x×y(x−y)=x(x−y)[(x−y)(x−y)+3×x×y]=x(x−y)[(x−y)2+3xy]=x(x−y)(x2+y2−2xy+3xy)=x(x−y)(x2+y2+xy)