Answer
See below.
Work Step by Step
The extreme value theorem states:
A function $f(x)$ that is continuous on a closed interval $[a,b]$ will have a minimum and a maximum at $c, (a\lt c \lt b) $.
The maximum and minimum values must occur at some critical numbers between $a$ and $b$ or at the endpoints of the interval $[a,b]$.