Sebastian bought x gallons of gas at a price of $2.91 per gallon at his local gas station. When he paid for the gas, Sebastian also paid $11.40 for granola bars and a box of tissues.
If Sebastian filled 10 gallons of gas, how much did he spend in all at the gas station?
A. $3.92
B. $24.71
C. $40.50
D. $116.91