If f(x) = {(ex, 0 ≤ x ≤ 1), (2 - ex - 1, 1 < x ≤ 2), (x - e, 2 < x ≤ 3) and g(x) = ∫f(t)dt for t ∈ [0, x], x ∈ [1, 3] then g(x) has
(a) local maxima at x = 1 + log2
(b) local maxima at x = 1 and local minima at x = 2
(c) local maxima at x = e
(d) local minima at x = e