If Julie bought 8 T-shirts, she would be short $28. If she bought 4 T-shirts and 3 baseball hats, she would have $17 left. If each hat cost $5, how much money did she have in the beginning

1 answer

if she has x dollars,

8t = x+28
4t+3h = x-17
h=5

so,

4t+15 = x-17
x = 4t+32

8t = 4t+32+28
4t = 60
t = 15

x = 60+32 = 92

check:

8*15 = 120 = 92+28
4*15+3*5 = 75 = 92-17