Let x be the number of nickels. Then the number of dimes is (x-8). The total money equation is 5x + 10(x - 8) = 160 cents. Simplify and solve 5x + 10x - 80 = 160 15x = 160 + 80 = 240 x = 240/15 = 16. ANSWER. 16 nickels. CHECK. 5*16 + 10*(16-8) = 80 + 80 = 160 cents, in total. ! Correct !