First Equation is the one where you actually just count the coins...
D + Q = 37
Now, adding the value of the coins, here is where you count the money,
Dimes are worth 10 cents and quarters 25...
.1D + .25Q = 7.45
D + Q = 37
.1D + .25Q = 7.45
Now you have a simple system, I will multiply the top by .1
.1(D + Q = 37)
.1D + .25Q = 7.45
.1D + .1Q = 3.7
.1D + .25Q = 7.45 Now subtract the two equations
-.15Q = -3.75 Divide both sides by -.15
Q = 25
Now substitute into your original equations
D + Q = 37
D + 25 = 37 Subtract
D = 12
So she indeed has 25 Quarters and 12 Dimes