Problem: 3 years ago , paula was 3 times as old as karl . in 9 years , paula will be twice as old as karl . what is the sum of their ages now ?
Rationale: "p - 3 = 3 ( k - 3 ) and so p = 3 k - 6 p + 9 = 2 ( k + 9 ) ( 3 k - 6 ) + 9 = 2 k + 18 k = 15 p = 39 p + k = 54 the answer is d ."
annotated_formula: add(subtract(multiply(add(negate(subtract(9, multiply(9, const_2))), subtract(multiply(3, 3), 3)), 3), subtract(multiply(3, 3), 3)), add(negate(subtract(9, multiply(9, const_2))), subtract(multiply(3, 3), 3)))