document.write( "Question 33976: A cashier at Apex Parts received a check for $2380 for 59 parts. The parts cost $20 and $50 but the number wanted of each wasn't given. How many of each can be bought with that amount? \n" ); document.write( "
Algebra.Com's Answer #20344 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
Let x = the number that can be bought for $20.00 each, then (59-x) = the number that can be bought for $50.00 each. You can write:
\n" ); document.write( "$20(x) + $50(59-x) = $2380 Simplify and solve for x.
\n" ); document.write( "$20(x) + $2950 - $50x = $2380
\n" ); document.write( "-$30(x) + $2950 = $2380 Subtract $2950 from both sides.
\n" ); document.write( "-$30(x) = -$570 Divide both sides by -$30.
\n" ); document.write( "x = 19
\n" ); document.write( "59-x = 40\r
\n" ); document.write( "\n" ); document.write( "19 can be bought at $20.00 each
\n" ); document.write( "40 can be bought at $50.00 each.
\n" ); document.write( "
\n" );