Hello, saskadimova!

Perhaps a sketch will help . . .Find the point on the graph of nearest to the pointCode:| | * | (x,y) * | o | * \ |* \d | \ - - * - - - o- - - - - | (4,0)

The point has coordinates

We want its distance from to be a minimum.

The distance is: .

. . So we have: .

Then: .

Hence: .

And: .

Therefore, the nearest point is: .