Rewrite the expression in long division form
.
Use division to write the divisor so it has the coefficient of 6.
\Divide the numerator and denominator by 3.
\
Simplify the numerator and denominator.
\
Coefficients of the dividend are 
The divisor is
. Therefore constant x of the divisor is:
Write the coefficients of the dividend so that the degrees of terms are in
\descending order as shown below. Write the constant r to the left. \ \
\
Bring down the first coefficient.
\
Multiply the first coefficient by r:
.
Writhe the product under the second coefficient.
\Then, add the product and the second coefficient: 

Multiply the sum, 5, by r:
.
Writhe the product under the next coefficient and add: 

The numbers in the last row are coefficients of the quotient.
\Start with the power of x that is one less than the degree of the dividend.
\Therefore the quotients is
.
Remainder is the last entry in the last row. So, 
The result of the division is
.
The result of the division is 