[tex]
\displaystyle
g(x)=\int_{-4}^{x}f(t)dt=\int_{-4}^{6}f(t)dt=f(6)-f(-4)=0-4=\boxed{-4}
[/tex]
Hope this helps.