Hi, I'm working through an exam pretest and I came across this problem. Looking through my notes, I can't find examples that show me how to do it. I'm not totally sure what it's asking.

a) Use the Remainder Theorem to find the remainder when x^3-2x^2+8x-16 is divided by x-2.

For this I did P(2) = (2)^3 -2(2)^2+8(2)-16

I got P(2) = 0 but was I supposed to plug in -2?

This is the part I'm stuck on:

b) Use your answer in part a to factor x^3-2x^2+8x-16 into linear factors allowing complex numbers. Clearly explain your reasoning.

Thanks in advance for any help I can get on this.