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 38 coins, all of them dimes and quarters. When she added them up, she had a total of $6.95. If D=number of dimes and Q= Number of quarters, how many dimes did Jenna have?