document.write( "Question 161109: Elliot paid $1.50 a dozen for some flowers. he sold all but 5 dozen of them for $2 a dozen, making a profit of $18. how many dozen flowers did he buy? \n" ); document.write( "
Algebra.Com's Answer #118677 by vleith(2983)\"\" \"About 
You can put this solution on YOUR website!
Let X be the number of dozen he bought.
\n" ); document.write( "Then (X-5) is the number of dozen he sold.\r
\n" ); document.write( "\n" ); document.write( "\"Profit+=+Sales+-+Cost\"
\n" ); document.write( "\"18+=+2%28X-5%29+-+1.5%28X%29+\"
\n" ); document.write( "\"18+=+2X+-+10+-+1.5X\"
\n" ); document.write( "\"28+=+0.5X\"
\n" ); document.write( "\"56+=+X+\"
\n" ); document.write( "He bought 56 dozen and sold 51 of them.\r
\n" ); document.write( "\n" ); document.write( "That's a lot of flowers and not a lot of profit :(\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );