The cubic function is
.
Apply derivative with respect to
.

Apply derivative with respect to
.

Find the inflection points by equating the second derivative to zero.
\
The cubic function has the inflection points at
.

Find the critical points by equating the first derivative to zero.
\
The cubic function has the critical points at
and
.
Substitute
in
.

The function has maximum point at
and minimum point at
.
Substitute the point
in
.
Substitute the point
in
.

Solve
and
.

Substitute
in
and
.


Substitute
,
and
in
.

Substitute
,
,
and
in
.
.
.