If (x2−x+1) is a factor of f(x)=ax3+bx2+cx+d, then the real root of f(x)=0, is
Roots of x2−x+1=0 are −ω,−ω2 and it is a factor of f(x)=ax3+bx2+cx+d.
So let the third root of f(x) be α
So α×(−ω)×(−ω2)=−da
α=−da