A general point on the curve is , and the square distance from this point to is:

Now we want to find the that minimises and we do this by solving

Which leaves you with the equation:

which has one positive root and no negative roots (Descartes rule of signs tell us this), and this positive root is of necessity a minimum for .

You are expected to find this root numerically.

CB