Find the answer to the following problem. A coin collection worth $3.45 contains nickels, dimes, and quarters. If there are twice as many dimes as quarters, and the number of nickels is 9 more than the number of quarters, find the number of each kind of coin.