Sean buys 3 cans of soda, 2 soups, and 1 sandwich.  Each soup cost as much as the 3 combined sodas.  The sandwich cost 3 times as much as the soup.  If the soda cost $1 how much did everything cost together?
The soda cost 3*1=$
<gadget id="calculator">3*1</gadget>
<output>3</output>
3.
So the soups cost 2*3=$
<gadget id="calculator">2*3</gadget>
<output>6</output>
6.
The sandwich cost 3*3=$
<gadget id="calculator">3*3</gadget>
<output>9</output>
9.
So the total cost of everything was 3+6+9=$
<gadget id="calculator">3+6+9</gadget>
<output>18</output>
18.

<result>18</result>