note that x = 0 is a critical value
set y' = 0
multiply every term by ...
for , y'(x) < 0 ... y is decreasing
for , y'(x) > 0 ... y is increasing
since the function decreases, then increases, that says the function has maxima at the endpoints. comparing the function values at the endpoints ...
is the maximum over the interval.