susan has a collection of 40 nickels and dimes. if the number of nickels is three times the number of dimes, how many nickels and how many dimes does she have?