The global minimum of occurs at an end point of the interval if the calculus like minimum (the solution of ) does not lie in the interval

Now find the solution of (in terms of ) and use the fact that (which gives a quadratic in ) and solve.

Now how many values of do you have and do the corresponding values of lie in ?

CB