Every evening jenna empties her pockets and puts her change in a jar. At the end of the week she counts her money. One week she had 40 coins, all of them
dimes and quarters when she added them she had a total of $7.75 let d= number of dimes and q = the number of quarters. How many quarters did she have?