The functions are
and
.
Here
are the zeros of
.
If
then
is a factor of
.
If
then
is a factor of
.
If
then
is a factor of
.
The cubic function is in the form of
, where
are zeroes of the function.
(1)
.
The function
at
is
.
Substitute
and
in equation (1).


Substitute
in equation (1).

The cubic function is
.
The cubic function is
.