Calculus Examples

Find the Maximum/Minimum Value x^2-2x-4 ; [-2,3]
I am unable to solve this problem.