document.write( "Question 648497: To create a breakfast beverage, pineapple juice in two concentrations, 18% and 50%, must be combined into a solution that will be mixed with another type of juice to produce the beverage. If 30 gallons of 18% juice is used, how many gallons of the 50% juice must be used to obtain a 40% pineapple juice solution? \n" ); document.write( "
Algebra.Com's Answer #406709 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+x+\" = gallons of 50% juice needed
\n" ); document.write( "\"+.5x+\" = gallons of pineapple juice in 50% juice
\n" ); document.write( "\"+.18%2A30+=+5.4+\" gallons of pineapple juice in 18% juice
\n" ); document.write( "---------------
\n" ); document.write( "\"+%28+.5x+%2B+5.4+%29+%2F+%28+x+%2B+30+%29+=+.4+\"
\n" ); document.write( "\"+.5x+%2B+5.4+=+.4%2A%28+x+%2B+30+%29+\"
\n" ); document.write( "\"+.5x+%2B+5.4+=+.4x+%2B+12+\"
\n" ); document.write( "\"+.1x+=+12+-+5.4+\"
\n" ); document.write( "\"+.1x+=+6.6+\"
\n" ); document.write( "\"+x+=+66+\"
\n" ); document.write( "66 gallons of 50% juice are needed
\n" ); document.write( "check:
\n" ); document.write( "\"+%28+.5x+%2B+5.4+%29+%2F+%28+x+%2B+30+%29+=+.4+\"
\n" ); document.write( "\"+%28+.5%2A66+%2B+5.4+%29+%2F+%28+66+%2B+30+%29+=+.4+\"
\n" ); document.write( "\"+%28+33+%2B+5.4+%29+%2F+96+=+.4+\"
\n" ); document.write( "\"+38.4+%2F+96+=+.4+\"
\n" ); document.write( "\"+38.4+=+.4%2A96+\"
\n" ); document.write( "\"+38.4+=+38.4+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );