Jake spent 3/8 of is money on books and 1/2 of what is left on magazine. he now has $6.25. how much did he start with?

Let x = money to start

5/8x - 1/2(5/8x) = 6.25

Solve for x.