document.write( "Question 1025939: Peter can do a piece of work in 8 days, sam in 10 days and john in 16 days. Sam and john work together for 4 days and then john is replaced by peter. Find when the work will be finished. \n" ); document.write( "
Algebra.Com's Answer #641208 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Peter's rate:
\n" ); document.write( "[ 1 job done ] / [ 8 days ]
\n" ); document.write( "Sam's rate:
\n" ); document.write( "[ 1 job done ] / [ 10 days ]
\n" ); document.write( "John's rate:
\n" ); document.write( "[ 1 job done ] / [ 16 days ]
\n" ); document.write( "----------------------
\n" ); document.write( "Let \"+x+\" = the fraction of the job that
\n" ); document.write( "Sam and John get done in \"+4+\" days
\n" ); document.write( "---------
\n" ); document.write( "Add their rates of working to get their
\n" ); document.write( "rate working together
\n" ); document.write( "\"+1%2F10+%2B+1%2F16+=+x%2F4+\"
\n" ); document.write( "Multiply both sides by \"+2+\"
\n" ); document.write( "\"+1%2F5+%2B+1%2F8+=+x%2F2+\"
\n" ); document.write( "Multiply both sides by \"+40+\"
\n" ); document.write( "\"+8+%2B+5+=+20x+\"
\n" ); document.write( "\"+20x+=+13+\"
\n" ); document.write( "\"+x+=+13%2F20+\"
\n" ); document.write( "This is the fraction of the job Sam and John
\n" ); document.write( "complete in \"+4+\" days
\n" ); document.write( "there is \"+1+-+13%2F20+=+7%2F20+\" of the job left
\n" ); document.write( "------------------------
\n" ); document.write( "Let \"+t+\" = time in days for Peter and Sam to
\n" ); document.write( "do \"+7%2F20+\" of the job
\n" ); document.write( "\"+1%2F8+%2B+1%2F10+=+%28+7%2F20+%29+%2F+t+\"
\n" ); document.write( "\"+1%2F8+%2B+1%2F10+=+7%2F20t+\"
\n" ); document.write( "Multiply both sides by \"+40t+\"
\n" ); document.write( "\"+5t+%2B+4t+=+14+\"
\n" ); document.write( "\"+9t+=+14+\"
\n" ); document.write( "\"+t+=+14%2F9+\"
\n" ); document.write( "\"+t+=+1+%2B+5%2F9+\"
\n" ); document.write( "-----------------
\n" ); document.write( "The job gets done in \"+4+%2B+1+%2B+5%2F9+\"
\n" ); document.write( "5 and 5/9 days
\n" ); document.write( "Hope I got it -get a 2nd opinion, too.
\n" ); document.write( "
\n" );