document.write( "Question 354461: henry paid $.80 for each bag of peanuts. he sold all but 20 of them for $1.50 and made a profit of $54. how many bags did he buy? \n" ); document.write( "
Algebra.Com's Answer #253289 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
cost each bag = $0.8
\n" ); document.write( "number of bags he bought = x
\n" ); document.write( "he sold x-20 bags
\n" ); document.write( "he sold at $1.50
\n" ); document.write( "...
\n" ); document.write( "he made a profit of $54
\n" ); document.write( "..
\n" ); document.write( "1.50(x-20)-0.8*x=54
\n" ); document.write( "1.50x-30-0.8x=54
\n" ); document.write( "0.7x=54+30
\n" ); document.write( "/0.7
\n" ); document.write( "x=84/0.7
\n" ); document.write( "x=120 bags of peanuts
\n" ); document.write( "...
\n" ); document.write( "m.ananth@hotmail.ca
\n" ); document.write( "
\n" );