Dividend is
.
Divisor is
.
Since the remainder is
,
is a solution of 
Write the terms of the dividend so that the degrees of the terms are in descending order.
\Then write just the coefficients as shown below.
\
Write the constant
of the divisor
to the left.
In this case,
. Bring the first coefficient, 1, down.

Multiply the sum,
by
:
.
Write the product under the next coefficient,
and add :
.

Multiply the sum,
by
:
.
Write the product under the next coefficient,
and add :
.

Multiply the sum,
by
:
.
Write the product under the next coefficient,
and add :
.
\
The remainder is the last entry in the last row.
\Therefore, remainder
.
The remainder is
.
Therefore, when
,
will have the remainder
.
The value of
is
.