At first, Ali had some money. He spent 20% of it on some books and 5/8 of the remainder on old. After that, his parents gave him $90. The ratio of the total amount of money he had in the end to the amount of money he had at first was 3:2. How much money did he have at first?
Call the amount he had at first, A
After he spent 20% on books he had .8A left
After spending (5/8) of the remainder he had .8A - (5/8).8A = .3A left
After getting $90 he had .3A + 90
Amount of money at the end / Amt at first = 3/2
So
(.3A + 90) / A = 3/2 cross-multiply
2 (.3A +90) = 3A
.6A + 180 = 3A
180 = 3A -.6A
180 = 2.4A
A =180 / 2.4 = $75 = what he had at first