The contents of the fuel tank of a car can be modeled by the function g(x)= -0.04x + 10, where x is in miles driven and g(x) represents the amount of fuel remaining in the tank in gallons. Kira traveled 150 miles. How many gallons does she have left in her car?
A. 6
B. 4
C. 8
D. 10