Since this is a multiple choice question, I will employ the guess and check method - meaning I will check each answer one by one.
Variable x = dimes = $0.10
Variable y = quarters = $0.25
Set up a system of equations:
x + y = 38
x(0.10) + y(0.25) = 6.80
Plug in each choice into the second equation. You can find the number of quarters that correspond to each number of dimes by using the first equation.
20 dimes:
20 + y = 38
y = 18
20(0.10) + 18(0.25) = 6.80
2 + 4.5 = 6.80
6.5 does not equal 6.80
Because dimes (x) are worth less than quarters (y), this result tells us the answer will be less than 20 dimes as with 20 or more we have less than $6.80. Another example just to show this is true:
38 dimes:
38 + y = 38
y = 0
38(0.10) + 0(0.25) = 6.80
3.8 + 0 = 6.80
3.8 does not equal 6.80.
Since x is worth less than y, we need more of y rather than x. Adding more x will only mean we will get a lower price. Adding more y will mean we get a higher price which is what we need. So only solve for x that is less than 20.
6
6 + y = 38
y = 22
6(0.10) + 32(0.25) = 6.80
0.60 + 8 = 8.60
8.60 does not equal 6.80.
This result is higher than what we wanted (6.80) which means we need more x. Now we only have to solve for x numbers that are greater than 6 and less than 20.