Write the function in the form f(x) = (x − k)q(x) + r for the given value of k. f(x) = −6x^3 + 9x^2 + 12x + 3, k = 1 − sqrt (2).
Demonstrate that f(k) = r.