Jenna is on a road trip. She drives for 2 hours at 60mph. She takes a bathroom break, and then she continues driving for 3 hours at 50 mph. She can drive for 30 miles on one gallon of gas. If one gallon of gas costs $2, how much money does she spend on gas for her trip?
First she drives 2 hours * 60 mph = 
<gadget id="calculator">2*60</gadget>
<output>120</output>
120 miles.
Then she drives 3 hours * 50 mph = 
<gadget id="calculator">3*50</gadget>
<output>150</output>
150 miles.
The total miles driven is 120 + 150 = 
<gadget id="calculator">120+150</gadget>
<output>270</output>
270 miles.
Jenna uses 270 / 30 = 
<gadget id="calculator">270/30</gadget>
<output>9</output>
9 gallons of gas.
The cost of gas is 9 * $2 = $
<gadget id="calculator">9*2</gadget>
<output>18</output>
18.

<result>18</result>