You need terms for all degrees for the dividend just as you need to account for all included place values in regular long division. The x=-2 divisor represents the binomial (x+2).
-2 | -3 5 0 -1 7
|
| 6 -22 44 -86
|__________________________________________
-3 11 -22 43 -79