When the polynomial x^4 + bx^3 + 5x^2 + dx + 6 is divided by x - 2 the remainder is 16. When it is divided by x + 1 the remainder is 10. Find the value of constant d.

Problem
When the polynomial $x^4 + bx^3 + 5x^2 + dx + 6$ is divided by $x - 2$ the remainder is 16. When it is divided by $x + 1$ the remainder is 10. Find the value of constant $d$.

A.   7 C.   -5
B.   -7 D.   5