Mari has 42 coins consisting of nickels, dimes, and
quarters. The total value of the coins is $9.35. The
number of dimes is one less than three times the
number of nickels. How many of each type of coin
does Mari have?