Upgrade subject to access all content

The graph of a piecewise linear function f is shown in the figure above. Let:

$$g(x)=\int_{-1}^{x}f(t)dt$$

Which of the following values is greatest?

$g(-3)$

$g(-1)$

$g(0)$

$g(3)$