A cashier has 25 coins consisting of nickels, dimes, and quarters with a value of $4.90. if the number of dimes is 1 less than twice the number of nickels, how many of each type of coin does she have?