20-cent coins in the end = 17. Total value = 17 × 0.20 = $3.40.
Step 1: Assume all coins at first are 20-cent coins. Assumed value = 30 × 0.20 = $6.
Step 2: Find the difference. Total difference = 6 − 3.4 = $2.60. Value difference = 0.20 − 0.10 = $0.10.
Step 3: Divide. Number of 10-cent coins = 2.6 ÷ 0.10 = 26.