Given that the cubic equation has rational coefficients and has the root , determine the values of a and b.

I got a=2 and b=4. But the answer is a=-6 and b=-20

you omitted the value of the root it has, as well as the function itself.