How do I apply Lagrange’s theory when I try to find the minimum distance from the origin?

How do I apply Lagrange’s theory when I try to find the minimum distance from the origin?