document.write( "Question 995477: Sally gave her brother $3.95 in quarters and dimes. If the number of quarters is 6 more than the number of dimes, how many quarters did Sally give her brother? \n" ); document.write( "
Algebra.Com's Answer #807710 by CubeyThePenguin(3113)\"\" \"About 
You can put this solution on YOUR website!
d = number of dimes
\n" ); document.write( "q = number of quarters\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "10d + 25q = 395
\n" ); document.write( "q = d + 6\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Substitute the second equation into the first.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "10d + 25(d + 6) = 395
\n" ); document.write( "10d + 25d + 150 = 395
\n" ); document.write( "35d = 245
\n" ); document.write( "d = 7\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Sally gave her brother 7 dimes and 13 quarters.
\n" ); document.write( "
\n" );