5 years ago , paula was 3 times as old as karl . in 6 years , paula will be twice as old as karl . what is the sum of their ages now ?
p - 5 = 3 ( k - 5 ) and so p = 3 k - 10 p + 6 = 2 ( k + 6 ) ( 3 k - 10 ) + 6 = 2 k + 12 k = 16 p = 38 p + k = 54 the answer is d .
add(subtract(multiply(add(negate(subtract(6, multiply(6, const_2))), subtract(multiply(5, 3), 5)), const_3), subtract(multiply(5, 3), 5)), add(negate(subtract(6, multiply(6, const_2))), subtract(multiply(5, 3), 5)))