The function is
.
The function is divided by
.
Remainder theorem:
\When you divide a polynomial
by
, then the remainder will be
.
Using remainder theorem, the remainder of
is
.

.
Factor theorem:
\when
then
is a factor of polynomial.
Let
is a factor of
then
.

then
is a factor of
.
and
is a factor of
.