(1)
, and

Subtract this from
to get a remainder of

What we've done here is show that

We can keep going as long as the degree of the remainder's numerator is at least the same as the degree of its denominator.
Next,
, and

Subtract this from the previous remainder to get a new remainder of

which means

Finally,
, and

Subtract this from the previous remainder to get

So we end up with

(the quotient is the expression in the box)
(2) Using the same process as before:















