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


d + q = 50
10d + 25q = 995


Multiply the first equation by 25. We are using elimination to get rid of d.


25d + 25q = 1250
10d + 25q = 995


Subtracting, we get 15d = 225, or d = 17.


Shakira has 17 dimes and 33 quarters.