Let the number of 50 paisa coins be x.
Then, the number of 25 paisa coins will be 4x.
According to the question:
0.50(x) + 0.25(4x) = 30
or, 0.5x + x = 30
or, 1.5x = 30
or, [Dividing both the sides by 1.5]
or, x = 20
Thus, the number of 50 paisa coins is 20.
Number of 25 paisa coins = 4x = 420 = 80