Let the number of 50 paise coins = x
So, the money value contribution of 50 paise coins in bag = 0.5x.
The number of 25 paise coins in bag = 4x
The money value contribution of 25 paise coins in bag = 0.25 (4x) = x.
According to the question,
⇒ 0.5x + x = 30
⇒ 1.5x = 30
Dividing both sides by 1.5, we get
⇒ 1.5x/1.5= 30/1.5
⇒ x = 20
Thus, the number of 50 paise coins = x = 20,
The number of 25 paise coins = 4x = 4 (20) = 80.