document.write( "Question 1086851: Two cans have a total capacity of 18 gallons. One can will hold as many quarts as the other pints. Determine capacity of each in pints.\r
\n" ); document.write( "\n" ); document.write( "18 gal. = 144 pints.\r
\n" ); document.write( "\n" ); document.write( "2 pints = quart.\r
\n" ); document.write( "\n" ); document.write( "Quart can = a.\r
\n" ); document.write( "\n" ); document.write( "Pint can = b.\r
\n" ); document.write( "\n" ); document.write( "Not sure how to continue. Non-homework.
\n" ); document.write( "

Algebra.Com's Answer #701089 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
x gallons
\n" ); document.write( "18-x gallons are the cans
\n" ); document.write( "4x quarts in the first = 8(18-x) in the second (8 pints in a gallon)
\n" ); document.write( "4x=144-8x
\n" ); document.write( "12x=144
\n" ); document.write( "x=12 gallons for one, 48 quarts
\n" ); document.write( "18-x=6 gallons for other, 48 pints.
\n" ); document.write( "
\n" );