First put:

Then your question is asking you to find which makes as small as possible. What this is asking is for you to find the minima for for positive .

The usual way to do this is to find the solutions of:

In your case there is only one solution for positive , and that is the answer you seek.

RonL