the ratio of the present ages of two friends is 2 : 3 and 6 years back , the ratio was 1 : 3 . what will be the ratio of their ages after 4 years ?
let the ages be 2 x , 3 x 6 yrs back , so 2 x - 6 / 3 x - 6 = 1 / 3 x = 4 after 4 yrs 2 x + 43 x + 4 2 ( 4 ) + 43 ( 4 ) + 4 12 : 16 3 : 4 answer : b
divide(add(multiply(divide(2, 3), divide(subtract(multiply(6, 3), 6), subtract(multiply(multiply(const_1, const_3), divide(2, 3)), 1))), 4), add(divide(subtract(multiply(6, 3), 6), subtract(multiply(multiply(const_1, const_3), divide(2, 3)), 1)), 4))