p(x) = x6 + x4 + x3 + x2 + 2x + 2, g(x) = x3 + 1
Dividend = x6 + x4 + x3 + x2 + 2x + 2
Divisor = x3 + 1
Here, dividend and divisor both are in the standard form.
Now, on dividing p(x) by g(x) we get the following division process we get,

q(x) = x3 + x
r(x) = x2 + x + 2