Since, the equation has imaginary roots.So, on solving we get roots as omega(w) and w^2.we know that w^3=1.So, ans comes out to be ((w^3 +1)/(w^3))^3.hence, ans is 8.