Maybe an easier way to do it is to apply the polynomial remainder theorem. It says that dividing a polynomial by leaves a remainder of .
In this case, , and we have
Then
9.4m questions
12.2m answers