The dividend is
.
Divisor is
.
Rewrite the expression in the long division form
.
Divide the first term of the dividend by the first term of the divisor
.
So, the first term of the quotient is
.
Multiply
by
.

Divide the first term of the last row by the first term of the divisor
.
So, the second term of the quotient is
.
Multiply
by
.

Divide the first term of the last row by the first term of the divisor
.
So, the third term of the quotient is
.
Multiply
by
.

Divide the first term of the last row by the first term of the divisor
.
So, the third term of the quotient is
.
Multiply
by
.

The remainder is the last entry in the last row.
\Therefore, the remainder
.
The number along the bottom row are the coefficients of the quotient.
\Thus, 
.

.