the ratio of the present age of sandy to that of molly is 7 : 2 . sixteen years from now , the ratio of the ages of sandy to molly will be 5 : 2 . what was sandy ' s age 6 years ago ?
let the present age of sandy be 7 x years and that of molly be 2 x years . ( 7 x + 16 ) / ( 2 x + 16 ) = 5 / 2 4 x = 48 x = 12 six years ago , sandy ' s age was 7 ( 12 ) - 6 = 78 the answer is d .
subtract(divide(multiply(subtract(multiply(5, add(const_10, 6)), multiply(2, add(const_10, 6))), 7), add(2, 2)), 6)