In this question first we find the distance of any arbitrary
point let's say (x, y, z) from the origin and then use langrange
multiplier to find the point closest to origin subjected to the
given constraint. Hope you understand the solution.

Thank you
Please like