Assume all 47 coins are 20-cent coins. Their value would be 47 × $0.20 = $9.40.
The shortfall is $15.10 − $9.40 = $5.70. Replacing a 20-cent coin by a 50-cent coin adds $0.50 − $0.20 = $0.30.
Number of 50-cent coins = $5.70 ÷ $0.30 = 19. Check: 47 − 19 = 28, and 28 × $0.20 + 19 × $0.50 = $15.10.