document.write( "Question 420983: here is my word problem:
\n" ); document.write( "Harris Teeter sold 45 tubes of toothpaste, Colgate at $8.50 each and Crest at $9.75 each. In all, $398.75 was taken in for toothpaste. How many of each kind were sold?
\n" ); document.write( "

Algebra.Com's Answer #294033 by angelmidnight(6)\"\" \"About 
You can put this solution on YOUR website!
x+y=45\r
\n" ); document.write( "\n" ); document.write( "8.50x+9.75y=398.75\r
\n" ); document.write( "\n" ); document.write( "-8.50x+8.50y=-382.5
\n" ); document.write( "8.50x+9.75y=398.75
\n" ); document.write( "1.25y=16.25
\n" ); document.write( "--- ---
\n" ); document.write( "1.25 1.25\r
\n" ); document.write( "\n" ); document.write( "y=13\r
\n" ); document.write( "\n" ); document.write( "x+13=45
\n" ); document.write( "x=32\r
\n" ); document.write( "\n" ); document.write( "32 Colgate and 13 Crest\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );