Determine where the function is concave upward and where it is concave downward.

g(x)=-x(^2)+4x+8

The sign of the second derivative will tell you.

Read
http://www.ugrad.math.ubc.ca/coursedoc/math100/notes/apps/second-deriv.html