math
posted by t .
If Julie bought 8 Tshirts, she would be short $28. If she bought 4 Tshirts and 3 baseball hats, she would have $17 left. If each hat cost $5, how much money did she have in the beginning?

Suppose Julie has j dollars.
The price of a tshirt is t dollars
The price of a hat is h dollars
8t = j + 28
4t + 3h = j  17
h=5, so,
8t  j = 28
4t j = 32
4t = 60
t = 15
j = 92
So, Julie has $92
8 Tshirts cost $120, so she's $28 short
4 T's + 3 hats = $75, so she has $17 extra 
46