can anyone help me DERIVE this question, not just a simple substitution, thank you

what is the nearest point on the curve , to the point (3,0)?

just by looking at it, you might say it is (1,1) and it is that answer, but how on earth would you derive it? by using higher derivatives. something tells me that you must derive through the distance equation on the Cartesian plane, but can anyone help me solve this fundamental yet, tricky question?