This week Bob put gas in his truck when the gas about half empty.four days later bob put gas again when 3/4 full o if bob bought 24 gallons of gas how many gallon of gas does the tank hold?

let tank's capacity be x gallons

(1/2)x + (1/4)x = 24
2x + x = 96
x = 32