Answer:
13 Quarters and 18 Dimes
Explanation:
Let D and Q stand for the numbers of Dimes(D) and Quarters(Q). Give x and y a break, and make it easier to remember which is which.
D + Q = 31
D = Q + 5
Therefore:
D + Q = 31
(Q+5) + Q = 31
2Q + 5 = 31
2Q = 26
Q = 13
Then D = (13+5) or 18
================
Check:
D + Q = 31 ?
18 + 13 = 31 YES
----------------------
D = Q + 5 ?
18 = 13 + 5 YES