The function is and point is
.
Consider point on the curve is .
Find the distance between and
.
The distance formula is .
Apply derivative on each side with respect to .
.
The distance between and
will be minimum if
.
.
Substituite in
.
.
The point nearest to is
.
The point nearest to is
.