When a polynomial P(x) is divided by x+2, the quotient is x^2 - 4x + 1 and the remainder is 8, what is the polynomial?

1 answer

P(x) / (x+2) = x^2 - 4x + 1 + 8/(x+2)
P(x) = (x+2)(x^2 - 4x + 1) + 8
= x^3 - 2x^2 - 7x + 2 + 8
= x^3 - 2x^2 - 7x + 10