\"\"

\

The cubic function is \"\".

\

Consider \"\".

\

The function is having horizontal tangents at points \"\" and \"\".

\

The point \"\" passes through the curve.

\

Substitute \"\" in \"\".

\

\"\" 

\

The point \"\" passes through the curve.

\

Substitute \"\" in \"\".

\

\"\"

\

\"\"

\

If the curve \"\" has horizontal tangent at \"\", then slope of the tangent line is zero.

\

\"\".

\

The curve  \"\" has horizontal tangent at \"\".

\

Therefore, \"\".

\

\"\"

\

Substitute \"\" in above expression then equate \"\".

\

\"\"

\

\"\"

\

The curve  \"\" has horizontal tangent at \"\".

\

Therefore, \"\".

\

\"\"

\

Substitute \"\" in above expression then equate \"\".

\

\"\"

\

\"\"

\

Solve \"\" and \"\" to get \"\" and \"\" values.

\

Subtract the equation \"\" from \"\".

\

\"\"

\

Add equations (1) and (2).

\

\"\"

\

Substitute  \"\" in above expression.

\

\"\"

\

Substitute \"\" in equation \"\".

\

\"\"

\

Substitute \"\", \"\" and \"\" in equation \"\".

\

\"\"

\

Substitute \"\" in \"\".

\

\"\"

\

Substitute \"\" and \"\" in  cubic function \"\".

\

\"\"

\

\"\".