Make sure your sketch of g(x) goes through all the coordinate points in order AND has the indicated slope at each point.
Recall that a function is NOT differentiable at cusps, endpoints, jumps, holes and vertical tangents. In other words, there can be no sudden changes in slope, infinite slopes or breaks in continuity.
Recall that a local max or local min COULD exist in one of two places: where the derivative (slope) = 0 or where the derivative does not exist.
But, just because g '(x) = 0 or g '(x) = DNE, does not mean that that MUST be the location of a local max or local min.