A polynomial f(x) of degree 3 leaves a remainder of 6 when divided by (x+1) and a remainder of 12 when divided by (x-2). Given that the coefficient of x^3 is 2 and (x+2) is the factor of the polynomial.
Show that f(x)= 2x^3+3x^2-5x+2
Show that f(x)= 2x^3+3x^2-5x+2