We have 20 coins in total, lets say that we have X amount od quarters(0.25 dollar) and Y amount of dimes(0.1 dollar), and in total we have $3.05, with this we can write the system:
Wich means that we have 20 coins, and:
Thats the amount of money we have.
So, from the first equation, we can isolate X, as follows:
And with that we can substitute X in the second equation, as follows:
So, if Y=13, we have that X=7. So 13 dimes and 7 quarters.