to complete a work a and b takes 8 days , b and c takes 12 days , a , b and c takes 6 days . how much time a and c will take
explanation : a + b 1 day work = 1 / 8 b + c 1 day work = 1 / 12 a + b + c 1 day work = 1 / 6 we can get a work by ( a + b + c ) - ( b + c ) and c by ( a + b + c ) - ( a + b ) so a 1 day work = 1 / 6 − 1 / 12 = 1 / 12 similarly c 1 day work = 1 / 6 − 1 / 8 = 4 − 3 / 24 = 1 / 24 so a and c 1 day work = 1 / 12 + 1 / 24 = 3 / 24 = 1 / 8 so a and c can together do this work in 8 days option d
divide(multiply(8, 6), add(subtract(8, 6), subtract(8, const_4)))