When the function f(x) is divided by x-2 the quotient is 3x^2+8x-4 and the remainder is 9 find the function f(x) and write the result in standard form?