The function is
.
The factors are
and
.
Perform the synthetic division method to test each factor.
\Synthetic division for factor
.
The divisor is in the form of 

When
is divided by
, the remainder is
.
So
is not a factor.
Now test the second factor
.
Synthetic division for factor
.
The divisor is in the form of 

When
is divided by
, the remainder is
.
So
is a factor of
.
Since
is a factor of
, the quotient in the factored form is 
.
is not a factor of the polynomial. \ \
is a factor of the polynomial.
The factored form of the polynomial is
.