Question 932257

Joe has a pile of dimes and nickels. The total value of the pile is 3.2 dollars, and there are 42 coins altogether. How many nickels are in the pile?
=========================
n + d = 42
5n + 10d = 320