document.write( "Question 968018: Jimmy charged $39.95 for bottle of red wine and $30.49 for a bottle of white wine.Jimmy made $1456.10 for selling 40 bottles of wine. How many bottles of each type were sold? \n" ); document.write( "
Algebra.Com's Answer #591625 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+a+\" = number of bottles of red wine sold
\n" ); document.write( "Let \"+b+\" = number of bottles of white wine sold
\n" ); document.write( "-----------------
\n" ); document.write( "(1) \"+a+%2B+b+=+40+\"
\n" ); document.write( "(2) \"+39.95a+%2B+30.49b+=+1456.1+\"
\n" ); document.write( "--------------------------------
\n" ); document.write( "Multiply both sides of (1) by \"+30.49+\"
\n" ); document.write( "and subtract (1) from (2)
\n" ); document.write( "(2) \"+39.95a+%2B+30.49b+=+1456.1+\"
\n" ); document.write( "(1) \"+-30.49a+-+30.49b+=+-1219.6+\"
\n" ); document.write( "---------------------------------
\n" ); document.write( "\"+9.46a+=+236.5+\"
\n" ); document.write( "\"+a+=+25+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+a+%2B+b+=+40+\"
\n" ); document.write( "(1) \"+b+=+15+\"
\n" ); document.write( "25 bottles of red and 15 bottles of white were sold
\n" ); document.write( "
\n" ); document.write( "
\n" );