. That's pretty straight forward if you use the definition isn't it? You want to find the value such that is a minimum. And because the square root function is is increasing that's the same as finding such that is a minimum.
So take the derivative with respect to and set it equal to 0: . That's the same as . Solve that for .