Randy can buy 6 gallons of gas for $18 or 7 gallons of gas for $21. How much do you think he would pay for 8 gallons of gas?

Responses

A $23$23

B $24$24

C $22$22

D $25

Since Randy can buy 6 gallons of gas for $18, we know that each gallon of gas costs $3 ($18 ÷ 6 = $3). Similarly, we know that each gallon of gas costs $3 ($21 ÷ 7 = $3) when he buys 7 gallons. Therefore, to buy 8 gallons of gas, Randy would need to pay $24 ($3 x 8 = $24).

Answer: \boxed{B} $24