Solution:
Key idea: Multiply the last two brackets first. Using ω3=1, and also ω+ω2=−1, they give x2−xy+y2. Then use the known factorisation x3+y3=(x+y)(x2−xy+y2), which we also check by expanding.
Step 1 — Multiply the last two brackets.
(ωx+ω2y)(ω2x+ωy)=ω3x2+ω2xy+ω4xy+ω3y2
Step 2 — Simplify. Put ω3=1 and ω4=ω, then use ω2+ω=−1:
ω3x2+(ω2+ω4)xy+ω3y2=x2+(ω2+ω)xy+y2=x2−xy+y2
Step 3 — Multiply by (x+y).
(x+y)(x2−xy+y2)=x3−x2y+xy2+x2y−xy2+y3=x3+y3
Hence x3+y3=(x+y)(ωx+ω2y)(ω2x+ωy).