<human>:  Tim decides to light off some fireworks for the fourth of July. He buys a package of fireworks worth $400 and another pack worth twice that much. He gets a 20% discount on them. He also buys a finale firework that costs $150. How much did he spend in total?
<bot>: How much was the second package? ** The second package was worth 400*2=$<<400*2=800>>800
How much were the two packages? ** So the two packages were worth 400+800=$<<400+800=1200>>1200
How much did he get a discount on? ** That means he got a discount of 1200*.2=$<<1200*.2=240>>240
How much did the packages cost? ** So the packages cost 1200-240=$<<1200-240=960>>960
How much did Tim spend in total? ** So he spent a total of 960+150=$<<960+150=1110>>1110
#### 1110