Step-by-step explanation
To solve the question, we will make use of the graph of the function
The graph of the function is shown below
From the graph
Looking at a graph, the local maxima and minima are the points where the graph flattens out and changes from increasing to decreasing or vice versa. When the graph is flat, that means the slope is zero.
Therefore, the function has a local maximum at
with a value of
For the local minimum
The function has a local minimum at
with a value of