Melanie has $3.50\displaystyle \${3.50} in dimes and nickles in her car. The number of nickles is ten more than the number of dimes. How many of each type of coin does she have?

dimes.

nickles.