Let medha has originally ₹x.
Money deposited in bank = 20% of x = 20/100 x X = ₹ 1/5 x
Remaining money = x - 1/5x = ₹4/5 x
Money spent = 20% of remaining money = 20/100 x 4/5 x
= 1/5 x 4/5x
= ₹4/25 x
Now, money left = 4/5x - 4/25 x = ₹16/25 x
But given that, money = ₹4800
According to the question,
16/25 x = 4800
x = (4800 x 25)/16
x = ₹ 7500
Hence, Medha had ₹7500 in original.