Let the number of Re. 1, 50 paise and 25 paise coins be 360,432 and 576 respectively (ratio 5:6:8).
Re.1
50 paise
25 paise
360
432
576
I transaction: 3/5th of Re. 1 coins changed 216 coins of Re. 1 would be changed with 144 coins of 50 paise and 576 coins of 25 paise (so that total 50 paise coins = 576 and total 25 paise coins = 1152 in the ratio 1:2)
Re.1
50 paise
25 paise
144
576
1152
II transaction: Half of 50 paise coins to Re. 1 and all 25 paise coins to Re. 1 and 50 paise in the ratio 7:4. Half of 50 paise coins ⇒ 144 coins of Re. 1 1152 coins of 25 paise ⇒ 224 coins of Re. 1 and 128 coins of 50 paise