Find the quotient and remainder when a3−5a2+8a+15 is divided by a+1.
When the polynomial f(x) = 4x3 + 8x2 + 8x + 7 is divided by the polynomial g(x) = 2x2 - x + 1, the quotient and the remainder are