Sweet Hope hosts a casino with 3 roulette tables labeled A, B, and C. At 6:00 pm, Table B had twice as much money on it as table C, which had $20 more than table A. If there was $40 on table A, how much money was there on all the tables?
If table C had $20 more than table A, then table C had $20+$40=$
<gadget id="calculator">20+40</gadget>
<output>60</output>
60.
Roulette tables A and C had $60+$40=$
<gadget id="calculator">60+40</gadget>
<output>100</output>
100.
Table B had twice as much money on it as table C, meaning table B had $60*2=$
<gadget id="calculator">60*2</gadget>
<output>120</output>
120.
Together, the three roulette tables had $120+$100=$
<gadget id="calculator">120+100</gadget>
<output>220</output>
220.

<result>220</result>