hey guys look at my method and tell me if i m wrong
x3-1 has 1 and w as its roots.
now putting these roots in the given eqn. we get
a+b+c=-6.....................................(1)
now putting w in the eqn we get
aw+b+1+cw2+3w+2=0
(3+b)+(a+3)w+cw2=0
also we know that 1+w+w2=0
therefore b+3=a+3=c............(2)
a=b=c-3
now from eqn i and 2
a+a+a=-9
a=-3,b=-3,c=0
ans=-54