document.write( "Question 56595: Hans paid $1.50 each for programs to the game. He sold all but 20 of them for $3.00 each and made a profit of $15.00. How many programs did he buy?\r
\n" ); document.write( "\n" ); document.write( "I tried the equation: 1.50x + 3(x-20)=15.00\r
\n" ); document.write( "\n" ); document.write( "I don't think this is right? Can you help me? Thank You.
\n" ); document.write( "The ISBN number that I typed is exactly correct.
\n" ); document.write( "

Algebra.Com's Answer #38397 by BGluvsmath(64)\"\" \"About 
You can put this solution on YOUR website!
First, profit is the selling price minus cost. So, I think a better equation would be: 1.5(x-20)=15 (Hans made a profit of $1.50 per program sold, for a total of $15.)\r
\n" ); document.write( "\n" ); document.write( "Going on to solving the equation:
\n" ); document.write( "1.5(x-20)=15
\n" ); document.write( "distribute: 1.5x-30=15
\n" ); document.write( "add 30 to both sides: 1.5x=45
\n" ); document.write( "divide each side by 1.5: x=30
\n" ); document.write( "
\n" );