document.write( "Question 1042173: Molly has 14 coins, all of which are quarters and nickels. In all, they're worth $2.50. How many of each kind of coin does Molly have? \n" ); document.write( "
Algebra.Com's Answer #657126 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Let us call the numbers of quarters and nickels, q and n.
\n" ); document.write( "Then we can write
\n" ); document.write( "q + n = 14
\n" ); document.write( "and the value equation is
\n" ); document.write( "25q + 5n = 250 (we work in cents)
\n" ); document.write( "Now we will multiply the top equation by five and subtract it from the bottom equation...like this...
\n" ); document.write( "25q + 5n = 250
\n" ); document.write( "-(5q + 5n = 70)
\n" ); document.write( "----------------
\n" ); document.write( "20q = 180
\n" ); document.write( "q = 9 quarters
\n" ); document.write( "which means
\n" ); document.write( "n = 5 nickels
\n" ); document.write( "
\n" );