Answer: 8 nickels and 14 dimes
====================================================
Work Shown:
n = number of nickels
22-n = number of dimes
5n = value of the nickels in cents
10(22-n) = value of the dimes in cents
5n+10(22-n) = total value in cents
5n+10(22-n) = 180
5n+220-10n = 180
-5n+220 = 180
-5n = 180-220
-5n = -40
n = -40/(-5)
n = 8 is the number of nickels
22-n = 22-8 = 14 is the number of dimes
-----------------
Check:
8 nickels = 8*5 = 40 cents
14 dimes = 14*10 = 140 cents
8 nickels + 14 dimes = 40 cents + 140 cents = 180 cents = $1.80
8 nickels + 14 dimes = 22 coins total
The answers are confirmed.