Terry spent 6$ for breakfast on Monday, twice as much on Tuesday, and on Wednesday Terry spent double what he did the previous two days combined.  How much did Terry spend total? Let's think step by step and output the final answer after "####".
user
Monday: <<6=6>>6$
Tuesday:6(2)=12$
Wednesday:2(6+12)=36$
Total:6+12+36=<<6+12+36=54>>54$
#### 54
Terry spent 6$ for breakfast on Monday, twice as much on Tuesday, and on Wednesday Terry spent double what he did the previous two days combined.  How much did Terry spend total?
train