d=dimes
q=quarters
d + q = 20
.10d + .25q = 3.05
d=-q + 20
.10(-q + 20) +.25q = 3.05
-.10q + 2 + .25 = 3.05
.15q + 2 = 3.05
.15q + 2 - 2 = 3.05 - 2
.15q = 1.05
.15q/.15 = 1.05/.15
q = 7
d + 7 = 20
d + 7 - 7 = 20 - 7
d = 13
Sally has 7 quarters and 13 dimes.
Hope this helps!