The function is
.
Let the point of tangency be
.
Slope of the tangent line :
.

Slope of the tangent line is
.
The two points on the tangent line are
and
.
Slope of a tangent line with points
and
:
.

Slope of the tangent line is
.
Equate the two slope of the tangent line.
\
or
.
If
then
.
Point of tangency is
.
If
then slope of the tangent line is
.
Point - slope form of line equation :
.
Substitute
and point
in point slope form.


Equation of tangent line is
.
If
then
.
Point of tangency is
.
If
then slope of the tangent line is
.
Point - slope form of line equation :
.
Substitute
and point
in point slope form.


Equation of tangent line is
.
Equation of tangent lines are
and
.