Carolyn has $2.55 in her purse in nickels and dimes. The number of nickels in nine less than three times the number of dimes. Find the number of each type of coin