Standard procedure: differentiate, set to zero, solve for x. Just be aware of the domain when solving for x.
Check with the second derivative whether they're max or mins.
Test f(x) at these points against the endpoints.
Show your progress in the future.