First of all, you need to remember that global maxima and minima could occur at stationary points OR at endpoints. So you need to evaluate and as well.

Now to help you evaluate the stationary points

Now you need to use the second derivative test to determine if they are maxima or minima.