Upgrade subject to access all content

Functions $g(x)$ and $f(x)$ are defined as:

$f(x)=x^{2}+3x-18$$g(x)=\int _{-10 }^{ x }{ f(t)dt } $

At what position $x$ does $g(x)$ have a maximum?

$x=3$

$x=-6$

$x=-6$ and $x=3$

$x=-\cfrac{3}{2}$