Checking to make sure I did it right..

Remainder theorem to find the remainder when f(x) is divided by the given x-k

f(x)=x^3-4x^2+2x+4; x+2

2 x -4 2 4
1 2 -4 4
1 -2 -2 8

2)x^3-4x^2+2x+4. (X^3-2x^2-2x) is the answer
x^3 -2x^2+-2x
-2x^2+4x
6x+4
-2x+4
8x+8

I'm not sure the bottom is right

If you are dividing by x+2, the remainder cannot be 8x+8

The remainder theorem says that the remainder when dividing by (x-a) is f(a)

f(-2) = -8 - 4(4) + 2(-2) + 4 = -24