document.write( "Question 560098: Stan Wellback wants to make 5 gallons of 55% gas, 45% oil mixture of fuel for his dirt bike. he has two containers, container A is 95% gasoline, 5%oil and container B is 10% gas, 90% oil. How many gallons (to the nearest tenth) does he need from each container to make his new mixture? \n" ); document.write( "
Algebra.Com's Answer #363674 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"a\" = gallons of mixture needed from container A
\n" ); document.write( "Let \"b\" = gallons of mixture needed from container B
\n" ); document.write( "\"+.95a+\" = gallons of gas in container A
\n" ); document.write( "\"+.1B+\" = gallons of gas in container B
\n" ); document.write( "-----------------------
\n" ); document.write( "(1) \"+a+%2B+b+=+5+\"
\n" ); document.write( "(2) \"+%28+.95a+%2B+.1b+%29+%2F+5+=+.55+\"
\n" ); document.write( "--------------------------
\n" ); document.write( "(2) \"+.95a+%2B+.1b+=+2.75+\"
\n" ); document.write( "(2) \"+95a+%2B+10b+=+275+\"
\n" ); document.write( "---------------------
\n" ); document.write( "Multiply both sides of (1) by \"+10+\"
\n" ); document.write( "and subtract (1) from (2)
\n" ); document.write( "(2) \"+95a+%2B+10b+=+275+\"
\n" ); document.write( "(1) \"+-10a+-10+b+=+-50+\"
\n" ); document.write( "\"+85a+=+225+\"
\n" ); document.write( "\"+a+=+2.647+\"
\n" ); document.write( "and, since
\n" ); document.write( "(1) \"+a+%2B+b+=+5+\"
\n" ); document.write( "(1) \"+2.647+%2B+b+=+5+\"
\n" ); document.write( "(1) \"+b+=+5+-+2.647+\"
\n" ); document.write( "(1) \"+b+=+2.353+\"
\n" ); document.write( "He needs 2.6 gallons from container A
\n" ); document.write( " and 2.4 gallons from container B
\n" ); document.write( "--------
\n" ); document.write( "check answer:
\n" ); document.write( "(2) \"+%28+.95%2A2.647+%2B+.1%2A2.353+%29+%2F+5+=+.55+\"
\n" ); document.write( "(2) \"+%28+2.515+%2B+.235+%29+%2F+5+=+.55+\"
\n" ); document.write( "(2) \"+2.75+%2F+5+=+.55+\"
\n" ); document.write( "(2) \"+2.75+=+.55%2A5+\"
\n" ); document.write( "(2) \"+2.75+=+2.75+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" ); document.write( "
\n" );