Calculus FTW
dind expression for distance (D) in terms of x and y via pytho, then change into one variabel (x OR y, doesnt matter - juts has to include only 1), then differentiate, finde when this = 0, and sub this bak in original formala to get otehr value (y value, if u put distance in terms of x only), then sub both these bak into distance equation, and just to show t is a MAX T.P. and not a MIN T.P., differentiate again, or show point just to left and just to right, ie dD/dx: (+) ---> 0---->(-)
in relation to ur Q, I DIDNT USE implicit diff., just diff. the square root sign adn all