document.write( "Question 488190: A mechanic has 340 gallons of gasoline and 10 gallons of oil to make gas/oil mixtures. He wants one mixture to be 4% oil and the other mixture to be 2.5% oil. If he wants to use all of the gas and oil, how many gallons of gas and oil are in each of the resulting mixtures? \n" ); document.write( "
Algebra.Com's Answer #333299 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+a+\" = total gallons of gas + oil in the 4% oil mixture
\n" ); document.write( "Let \"+b+\" = total gallons of gas + oil in the 2.5% oil mixture
\n" ); document.write( "-----------
\n" ); document.write( "given:
\n" ); document.write( "The % of gas in the 4% oil mixture is 96%
\n" ); document.write( "The % of gas in the 2.5% oil mixture is 97.5%
\n" ); document.write( "\"+340+%2B+10+=+350+\" total gallons of gas + oil in the 2 mixtures
\n" ); document.write( "(1) \"+a+%2B+b+=+350+\"
\n" ); document.write( "(2) \"+.96a+%2B+.975b+=+340+\"
\n" ); document.write( "(3) \"+.04a+%2B+.025b+=+10+\"
\n" ); document.write( "------------------------
\n" ); document.write( "Multiply both sides of (2) and (3) by \"+1000+\"
\n" ); document.write( "(1) \"+a+%2B+b+=+350+\"
\n" ); document.write( "(2) \"+960a+%2B+975b+=+340000+\"
\n" ); document.write( "(3) \"+40a+%2B+25b+=+10000+\"
\n" ); document.write( "------------------------
\n" ); document.write( "Multiply both sides of (3) by \"+39+\"
\n" ); document.write( "and subtract (2) from (3)
\n" ); document.write( "(3) \"+1560a+%2B+975b+=+390000+\"
\n" ); document.write( "(2) \"+-960a+-+975b+=+-340000+\"
\n" ); document.write( "\"+600a+=+50000+\"
\n" ); document.write( "\"+a+=+83.333+\"
\n" ); document.write( "and, since
\n" ); document.write( "(1) \"+a+%2B+b+=+350+\"
\n" ); document.write( "(1) \"+b+=+350+-+83.333+\"
\n" ); document.write( "(1) \"+b+=+266.667+\"
\n" ); document.write( "-----------------
\n" ); document.write( "\"+.96a+=+.96%2A83.333+\"
\n" ); document.write( "\"+.96a+=+80+\" gallons
\n" ); document.write( "\"+83.333+-+80+=+3.333+\" gallons
\n" ); document.write( "and
\n" ); document.write( "\"+.975b+=+.975%2A266.667+\"
\n" ); document.write( "\"+.975b+=+260+\" gallons
\n" ); document.write( "\"+266.667+-+260+=+6.6667+\"
\n" ); document.write( "------------------------
\n" ); document.write( "There are 80 gallons of gas in the 4% oil mixture
\n" ); document.write( "There are 3 and 1/3 gallons of oil in the 4% oil mixture
\n" ); document.write( "------------------------
\n" ); document.write( "There are 260 gallons of gas in the 2.5% oil mixture
\n" ); document.write( "There are 6 and 2/3 gallons of oil in the 2.5% oil mixture
\n" ); document.write( "------------------------
\n" ); document.write( "check:
\n" ); document.write( "\"+80+%2B+3+%2B+1%2F3+%2B+260+%2B+6+%2B+2%2F3+=+350+\"
\n" ); document.write( "\"+349+%2B+3%2F3+=+350+\"
\n" ); document.write( "\"+350+=+350+\"
\n" ); document.write( "OK
\n" ); document.write( "and \"+80+%2B+260+=+340+\"
\n" ); document.write( "and \"+3+%2B+1%2F3+%2B+6+%2B+2%2F3+=+10+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );