Let and , then we get the following:
So, we will minimize if we minimize . We are given that the plane is .
Now, we get the following:
So, we got that the critical point is , then we get
The conclusion is that the point is the point of a local minimum of , so, that is the point which is on the given plane and it is the nearest to the origin.