Mark M. answered 11/18/22
Retired math prof. Very extensive Precalculus tutoring experience.
d = √ [(x-0)2 + (y - 6)2] = √[x2 + (12-x2-6)2 ] = √[x2 + (6-x2)2] = √(x4 -11x2 + 36)
d is smallest when S = x4 - 11x2 + 36 is smallest
Set S' = 0 to get 4x3 - 22x = 0
2x(2x2 - 11) = 0
x = 0 or x = √ (11/2)
The minimum occurs at a critical point or at an endpoint
If x = 0, then y = 12. and d = 6
If x = √(11/2), then y = 12 - x2 = 12 - 11/2 = 6.5 and d = √(121/4 -121/2 + 36) < 6
If x = √12, then y = 0 and d = √(144 - 132 + 36) > 6
So x = √(11/2) and y = 6,5