a can complete a project in 30 days and b can complete the same project in 30 days . if a and b start working on the project together and a quits 10 days before the project is completed , in how many days will the project be completed ?
"let x = the number of days taken to complete the project . the amount of work done by a is ( x - 10 ) * ( 1 / 20 ) . the amount of work done by b is ( x ) * ( 1 / 30 ) . ( 1 / 30 ) * ( x - 10 ) + ( 1 / 30 ) * ( x ) = 1 ( x / 30 ) + ( x / 30 ) - ( 10 / 30 ) = 1 2 x / 30 = 1 / 3 x = 5 therefore , the answer is d : 5 ."
add(divide(subtract(const_1, multiply(divide(const_1, 30), 10)), add(divide(const_1, 30), divide(const_1, 30))), 10)