document.write( "Question 777773: A can do a piece of work in 12 days and B can do a piece of work in 18 days. They started working together but A left 3 days before the completion of the work. The total number of days to complete the work is ?? \n" ); document.write( "
Algebra.Com's Answer #474255 by dkppathak(439)\"\" \"About 
You can put this solution on YOUR website!
A can do a piece of work in 12 days
\n" ); document.write( "A one day work is =1/12
\n" ); document.write( "B can do a piece of work in 18 days
\n" ); document.write( "B one day work is =1/18
\n" ); document.write( "A and B both together work for one day= 1/12+1/18
\n" ); document.write( " =5/36 part
\n" ); document.write( "let total work completed in x days
\n" ); document.write( "both work for (x-3) and B work alone 3 days \r
\n" ); document.write( "\n" ); document.write( "both work for (x-3) days =(x-3)5/36=5x-15/36
\n" ); document.write( "B alone three days work =3x1/18=1/6\r
\n" ); document.write( "\n" ); document.write( "as per give conditions
\n" ); document.write( "1/6+ 5x-15/36 =1
\n" ); document.write( "by LCM solving we will get
\n" ); document.write( "-9+5x/36=1
\n" ); document.write( "-9+5x=36
\n" ); document.write( "5x =45
\n" ); document.write( "x=45/5=9 days
\n" ); document.write( "answer work completed in 9 days
\n" ); document.write( "
\n" );