mary deposited dimes and quarters into the coinstar machine at her local grocery store. the total money she deposited was 22.15. if mary had 84 dimes, write and solved a linear equation to find the number of quarters she had

add up the value of the coins:

10*84 + 25q = 2215
840+25q = 2215
25q = 1375
q = 55