.
Thomas has a collection of 25 coins; some are dimes and some are quarters. If the total value of all the coins is $5.05,
how many of each kind of coin are there?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10d + 25*(25-d) = 505.
Solve for d, which is an unknown number of dimes.