(3x^3+x^2+2x+4)
(x-2)
(3x^3+x^2+2x+4) / (x-2)
3x^2 + 7x +16
x - 2 [ 3x^3 + x^2 + 2x + 4 ]
3x^3 -6x^2
----------------------
7x^2 + 2x
7x^2 -14x
---------------
16x + 4
16x -32
------------
36
So....the result is 3x^2 + 7x + 16 Remainder 36
thanks CPhill