The expression is
.
The expression in 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 x. Multiply the
by x and subtract.

Divide the first term of the last row by the first term of the divisor
.
So the next term of the quotient is x. Multiply the
by 4 and subtract.

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

The result of division is
.