Calculate the derivative of the function, as shown below
Set y'=0 and solve for x, as shown below
Their corresponding y-coordinates are
Therefore, the two stationary points are (6,36) and (-6,-36).
Using the second derivative test,
Then,
(6,36) is a local minimum and (-6,-36) is a local maximum.