document.write( "Question 824467: A can do a piece of work in 18 days and B in 12 days. They begin together but A goes away 2 days before the work is completed. The time in which the work was finished is- \n" ); document.write( "
Algebra.Com's Answer #496665 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A can do a piece of work in 18 days and B in 12 days.
\n" ); document.write( " They begin together but A goes away 2 days before the work is completed.
\n" ); document.write( " The time in which the work was finished is-
\n" ); document.write( ":
\n" ); document.write( "Let t = total days worked worked by B to finish the job
\n" ); document.write( "then
\n" ); document.write( "(t-2) = time worked by A, who left 2 days before completion
\n" ); document.write( ":
\n" ); document.write( "Let the completed job = 1
\n" ); document.write( ":
\n" ); document.write( "\"%28%28t-2%29%29%2F18\" + \"t%2F12\" = 1
\n" ); document.write( "multiply by 36 to clear the denominators
\n" ); document.write( "2(t-2) + 3t = 36
\n" ); document.write( "2t - 4 + 3t = 36
\n" ); document.write( "5t = 36 + 4
\n" ); document.write( "t = 40/5
\n" ); document.write( "t = 8 days to complete the job
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "See if that works out (A works only 6 days)
\n" ); document.write( "\"6%2F18\" + \"8%2F12\" =
\n" ); document.write( "\"1%2F3\" + \"2%2F3\" = 1
\n" ); document.write( "
\n" );