document.write( "Question 210711: Sam takes 6 days less than the number of days taken by John to complete a piece of work. If both Sam and John together can complete the same work in 4 days. In how many days will john complete the work? \n" ); document.write( "
Algebra.Com's Answer #159203 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Sam takes 6 days less than the number of days taken by John to complete a piece of work. If both Sam and John together can complete the same work in 4 days. In how many days will john complete the work?
\n" ); document.write( "----------------------------------
\n" ); document.write( "John DATA:
\n" ); document.write( "time = x day/job ; rate = 1/x job/day
\n" ); document.write( "------------
\n" ); document.write( "Sam DATA:
\n" ); document.write( "time = x-6 days/job ; rate = 1/(x-6) job/day
\n" ); document.write( "----------------
\n" ); document.write( "Together DATA:
\n" ); document.write( "time = 4 days/job ; rate = 1/4 job/day
\n" ); document.write( "=========================================
\n" ); document.write( "Equation:
\n" ); document.write( "rate + rate = together rate
\n" ); document.write( "1/x + 1/(x-6) = 1/4
\n" ); document.write( "4(x-6) + 4x = x(x-6)
\n" ); document.write( "4x - 24 + 4x = x^2 - 6x
\n" ); document.write( "x^2 - 14x +24 = 0
\n" ); document.write( "x^2 - 12x - 2x + 24 = 0
\n" ); document.write( "x(x-12)-2(x-12) = 0
\n" ); document.write( "(x-12)(x-2) = 0
\n" ); document.write( "To get a positive solution for Sam and John:
\n" ); document.write( "x = 12 days (John time)
\n" ); document.write( "x-6 = 6 days (Sam time)
\n" ); document.write( "=======================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );