\(\displaystyle \L\\S=L^{2}=(x-4)^{2}+(y+\frac{1}{2})^{2}\)
Sub in y=x^2, differentiate, set to 0 and solve for x.
The trick is knowing that the distance and the square of the distance have their max and min at the same point. Thus, we can use \(\displaystyle L^{2}\)