Donna bought 3 times as many pencils as Marcia did. Marcia bought double the number of pencils as Cindi did. How many pencils did Donna and Marcia buy altogether if Cindi spent $30 on $0.50 pencils?
Cindi bought 30/0.50 = 
<gadget id="calculator">30/0.50</gadget>
<output>60</output>
60 pencils.
Marcia bought 2*60 = 
<gadget id="calculator">2*60</gadget>
<output>120</output>
120 pencils.
Donna bought 3*120 = 
<gadget id="calculator">3*120</gadget>
<output>360</output>
360 pencils.
Altogether, Donna and Marcia bought 120+360 = 
<gadget id="calculator">120+360</gadget>
<output>480</output>
480 pencils.

<result>480</result>