Explanation
To solve the question, we have to convert the coins the same units
A dime is worth 10 cents. A quarter is worth 25 cents.
So we will have
Let dimes be d
Let quarter be q
Since there are 8 coins
Then
Also
So we can now solve the equations as follow
Next, we will have to get d
Therefore, there are 2 dimes