From the graph, we can see that the function has local minimums at $x=1$ and $x=2$ where the function values are $0$ and $-1$ respectively. Similarly, the function has local maximums at $x=-2$ and $x=1$ where the function values are $3$ and $2$ respectively.
Show more…