You can put this solution on YOUR website! x+4 is not one of the roots, but this binomial will be 0 when x=-4. You have , ONE OF THE POINTS OF THE FUNCTION P.
Review everything your book tells you about polynomial functions. There is the REMAINDER THEOREM. The remainder of your division for your example will be 3.