document.write( "Question 1031529: A used car salesman purchased a number of very old battered cars during the past month. He paid the same price, $89, for each. He has not yet sold all of the cars, but those that he has sold went for $225, a piece. He has already made a profit of $2,327 (total sale price minus outlay for all cars purchased). If his car lot has room for no more than 50 cars at one time, how many cars remain? \n" ); document.write( "
Algebra.Com's Answer #646227 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+x+\" = the number of cars he sold
\n" ); document.write( "Let \"+y+\" = the number of cars remaining
\n" ); document.write( "-----------------------------------
\n" ); document.write( "(1) \"+89%2A%28+x+%2B+y+%29+\" = cost of all the cars he bought
\n" ); document.write( "(2) \"+225x+-+89%2A%28+x+%2B+y+%29+=+2327+\" profit after selling \"+x+\" cars
\n" ); document.write( "(3) \"+x+%2B+y+%3C=+50+\"
\n" ); document.write( "----------------------
\n" ); document.write( "(2) \"+225x+-+89x+-+89y+=+2327+\"
\n" ); document.write( "(2) \"+136x+-+89y+=+2327+\"
\n" ); document.write( "-------------------------
\n" ); document.write( "I think I got this by trial and error
\n" ); document.write( "First, I divided \"+2327+%2F+136+=+17.1+\"
\n" ); document.write( "so, \"+x+\" must be at least \"+17+\"
\n" ); document.write( "Then I tried different value for \"+x+\"
\n" ); document.write( "\"+x+=+23+\"
\n" ); document.write( "\"+23%2A136+=+3128+\"
\n" ); document.write( "\"+89y+=+3128+-+2327+\"
\n" ); document.write( "\"+89y+=+801+\"
\n" ); document.write( "\"+y+=+9+\"
\n" ); document.write( "9 cars remain
\n" ); document.write( "-----------------
\n" ); document.write( "check:
\n" ); document.write( "\"+x+%2B+y+=+23+%2B+9+\"
\n" ); document.write( "\"+x+%2B+y+=+32+\"
\n" ); document.write( "(2) \"+225x+-+89%2A%28+x+%2B+y+%29+=+2327+\"
\n" ); document.write( "(2) \"+225%2A23+-+89%2A32+=+2327+\"
\n" ); document.write( "(2) \"+5175+-+2848+=+2327+\"
\n" ); document.write( "(2) \"+2327+=+2327+\"
\n" ); document.write( "OK
\n" ); document.write( "Maybe there is a systematic way to
\n" ); document.write( "get the answer -I don't know what it is.
\n" ); document.write( "Hope this helps
\n" ); document.write( "
\n" );