There are, I am sure, many subtle ways of solving this problem, but the most obvious one which springs to mind is a simple cheat:

We know that where is some unknown polynomial and , , and are as above, because that's what division with a remainder means. So, simply substitute unknowns into the polynomial and then multiply out and pair off the coefficients, and you'll get your result.