document.write( "Question 453329: a coin purse contains 80 cents in nickles and dimes. If there are 12 coins in all,haw many dimes are in the coin purse? \r
\n" ); document.write( "\n" ); document.write( "i have to use two variables and i am in prealgebra
\n" ); document.write( "

Algebra.Com's Answer #311489 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"a\" = number of nickels
\n" ); document.write( "Let \"b\" = number of dimes
\n" ); document.write( "given:
\n" ); document.write( "(1) \"+a+%2B+b+=+12+\"
\n" ); document.write( "(2) \"+5a+%2B+10b+=+80+\" (in cents)
\n" ); document.write( "--------------------
\n" ); document.write( "Multiply both sides of (1) by \"5\"
\n" ); document.write( "and subtract from (2)
\n" ); document.write( "(2) \"+5a+%2B+10b+=+80+\"
\n" ); document.write( "(1) \"+-5a+-+5b+=+-60+\"
\n" ); document.write( "\"+5b+=+20+\"
\n" ); document.write( "\"+b+=+4+\"
\n" ); document.write( "and, since
\n" ); document.write( "(1) \"+a+%2B+b+=+12+\"
\n" ); document.write( "(1) \"+a+%2B+4+=+12+\"
\n" ); document.write( "\"+a+=+8+\"
\n" ); document.write( "There are 4 dimes in the purse
\n" ); document.write( "check answer:
\n" ); document.write( "(2) \"+5a+%2B+10b+=+80+\"
\n" ); document.write( "(2) \"+5%2A8+%2B+10%2A4+=+80+\"
\n" ); document.write( "(2) \"+40+%2B+40+=+80+\"
\n" ); document.write( "\"+80+=+80+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );