document.write( "Question 171309: Two dozen units in an apartment complex need to be painted. It takes 3 gallons of paint to cover each apartment.\r
\n" ); document.write( "\n" ); document.write( "How many apartments can be painted with 36 gallons?\r
\n" ); document.write( "\n" ); document.write( "How many gallons will it take to paint all 24 apartments?
\n" ); document.write( "

Algebra.Com's Answer #126456 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
24 units need to be painted.
\n" ); document.write( "3 gallons of paint each.
\n" ); document.write( "-----
\n" ); document.write( "you would need 24*3 gallons of paint to cover them all.
\n" ); document.write( "24 * 3 = 72 gallons required to paint all 24.
\n" ); document.write( "-----
\n" ); document.write( "you can paint 36/3 apartments with 36 gallons.
\n" ); document.write( "36 / 3 = 12 apartments that can be painted with 36 gallons.
\n" ); document.write( "-----
\n" ); document.write( "your general formula would be:
\n" ); document.write( "let a = number of apartments
\n" ); document.write( "let g = number of gallons required to paint each apartment.
\n" ); document.write( "let t = total number of gallons available.
\n" ); document.write( "-----
\n" ); document.write( "a * g = t
\n" ); document.write( "meaning the number of apartments times the number of gallons required for each equals the total number of gallons required.
\n" ); document.write( "-----
\n" ); document.write( "t / g = a
\n" ); document.write( "meaning the total number of gallons available divided by the number of gallons required for each apartment equals the number of apartments that can be painted.
\n" ); document.write( "-----\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );