Question 993331
d = number of dimes
q = number of quarters


d + q = 17
10d + 25q = 245


Multiply the first equation by 25.


25d + 25q = 425
-(10d + 25q = 245)
---------------------
15d = 180
d = 12


Mary has 12 dimes and 5 quarters.