could someone show me the steps to answering this question please:

the polynomial $\displaystyle P(x) = x^3 + 3x^2 - 2x + k$ has the factor of $\displaystyle x + 1$. find the remainder when P(x) is divided by $\displaystyle x - 3$

thanks for any help