g(x)=x^5-4x^3+2x+12

and the answer is . . . 42