document.write( "Question 629279: Jack and David are both waiters at the same restaurant. Jack's compensation is $100 per week in salary plus 60% of all the tips he receives. David's compensation is $200 per week in salary plus 40% of his tips. If they both receive the same amount of tips and the same total compensation for a given week, what is that compensation, in dollars?\r
\n" ); document.write( "\n" ); document.write( "please include explanations!
\n" ); document.write( "

Algebra.Com's Answer #396163 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
let \"+t+\" = the amount that both received in tips
\n" ); document.write( "Let \"+C+\" = the total weekly compensation for both
\n" ); document.write( "given:
\n" ); document.write( "------
\n" ); document.write( "Jack's equation:
\n" ); document.write( "(1) \"+C+=+100+%2B+.6t+\"
\n" ); document.write( "David's equation:
\n" ); document.write( "(2) \"+C+=+200+%2B+.4t+\"
\n" ); document.write( "------------------
\n" ); document.write( "I can substitute (1) into (2)
\n" ); document.write( " \"+100+%2B+.6t+=+200+%2B+.4t+\"
\n" ); document.write( "\"+.2t+=+100+\"
\n" ); document.write( "\"+t+=+500+\"
\n" ); document.write( "Substitute this into either (1) or (2)
\n" ); document.write( "(1) \"+C=+100+%2B+.6%2A500+\"
\n" ); document.write( "(1) \"+C+=+100+%2B+300+\"
\n" ); document.write( "(1) \"+C+=+400+\"
\n" ); document.write( "The total compensation for both on that week was $400
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+C+=+200+%2B+.4t+\"
\n" ); document.write( "(2) \"+400+=+200+%2B+.4t+\"
\n" ); document.write( "(2) \"+200+=+.4t+\"
\n" ); document.write( "(2) \"+t+=+200%2F.4+\"
\n" ); document.write( "(2) \"+t+=+500+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );