Every morning 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 up, she had a total of $7.75. l
Let d = number of dimes and 
q = number of quarters 
 How many dimes did jenna have ?