The number of dimes can be represented by x and the number of quarters can be represented by y.
We know that x = 2y because there are twice as many dimes as quarters
We also know that $0.10x + $0.25y = $3.15
Therefore we can solve the system of equations through the substitution or elimination method. In this scenario I think the substitution method is easier.
Replacing x with 2y in our second equation yields...
0.10(2y) + 0.25(y) = 3.15
.2y + .25y = 3.15
.45y = 3.15
y= 7
Using our answer and plugging into the first equation...
x=2y
x = 2(7)
x=14