Gustav has 35 dimes and quarters that total $5.00. Solve to find how many quarters and dimes he has.

d+q=35
0.1d+0.25q=5
Explain how you got it!