We use the same polynomials as in the first question. Suppose that 3x^3 + 2x + 1 = (ax^2 + bx + c)(x+2) + d. Then b is equal to:

(ax^2 + bx + c)(x+2) + d

= ax^3 + (2a+b)x^2 + (2b+c)x + (2c+d)

so,

a=3
2a+b = 0
2b+c = 2
2c+d = 1

now just crank it out.