Two polynomials P and D are given. Use either synthetic or long division to divide P(x) by D(x), and express P in the form P(x) = D(x) · Q(x) + R(x).
P(x) = −x3 − 2x + 4, D(x) = x + 1
P(x) =