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