I am overthinking this but is not a valid equation, am I correct? Working through the problem gives me which then works out to which leaves a negative number in the square root, which is not valid.
Find the point on the plane that is closest to the point (1,1,1). How would you minimize the function?