On a shopping trip, Henry spends 1/3 of his money at the Sport Court. He then spends 1/3 of the money he has left at June's Tunes. Finally, he spends his remaining $20 at Troy's Toys. How many dollars did Henry have at first?

2/3 M left after sport court

2/3 *2/3 = 4/9 M left after Junes = 20
so
4/9 M = 20
4 M = 180
M = 45