If the roots of the equation xcubed + 3xsquared - 2x +1 = 0 are e, f, g

find the value of

a) esquared(f+g) + fsquared(g+e) + gsquared(e+f)

b) esquaredfsquared + fsquaredgsquared + gquaredesquared

this knowing that e+f+g=-b/a, ef+eg+fg=c/a and efg=-d/a (general cubic equation rules)

AND

Solve the equation 4xcubed - 12xsquared +9x - 2 =0 given that two of its roots are equal

thankyou in advance for any help given ! appreciate it !