Sat math question?

f(x)=x^2+ax+b

g(x)=f(x-3)

In the functions above, a and b are constants. If g(x)=5 and g(4)=10, what is the value of a?