Problem: a is thrice as good as workman as b and therefore is able to finish a job in 60 days less than b . working together , they can do it in :
Rationale: ratio of times taken by a and b = 1 : 3 . the time difference is ( 3 - 1 ) 2 days while b take 3 days and a takes 1 day . if difference of time is 2 days , b takes 3 days . if difference of time is 60 days , b takes ( 3 / 2 * 60 ) = 90 days so , a takes 30 days to do the work . a ' s 1 day ' s work = 1 / 30 b ' s 1 day ' s work = 1 / 90 ( a + b ) ' s 1 day ' s work = ( 1 / 30 + 1 / 90 ) = 4 / 90 = 2 / 45 a and b together can do the work in 45 / 2 = 22 1 / 2 days answer = b
annotated_formula: multiply(add(const_4, const_1), divide(const_1, add(divide(const_1, divide(60, const_2)), divide(const_1, add(divide(60, const_2), 60)))))