You can put this solution on YOUR website! To find extrema, take the derivative and set it equal to zero.
.
.
. and
From the graph, the maximum occurs at , or approximately
.
.
.
As you can see from the graph, solving for x only gives you the relative minimum and not the absolute minimum.
The absolute minimum occur at the endpoints.