document.write( "Question 162163: Hans paid $1.50 each for programs to the game. He sold all but 20 of them for $3 each and made a profit of $15. How many programs did he buy? \n" ); document.write( "
Algebra.Com's Answer #119617 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Hans paid $1.50 each for programs to the game. He sold all but 20 of them for $3 each and made a profit of $15. How many programs did he buy?
\n" ); document.write( ":
\n" ); document.write( "Let x = no. of programs he bought
\n" ); document.write( "Then
\n" ); document.write( "(x-20) = no of programs he sold
\n" ); document.write( ":
\n" ); document.write( "$amt sold - $amt paid = profit
\n" ); document.write( "3(x-20) - 1.5x = 15
\n" ); document.write( ":
\n" ); document.write( "3x - 60 - 1.5x = 15
\n" ); document.write( ":
\n" ); document.write( "3x - 1.5x = 15 + 60
\n" ); document.write( ":
\n" ); document.write( "1.5x = 75
\n" ); document.write( "x = \"75%2F1.5\"
\n" ); document.write( "x = 50 programs originally bought
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check: 3(30) - 1.5(50) = 15\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );