TASK DEFINITION: The task is to generate the correct answer for a given math problem.
PROBLEM: Problem: 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 ?

SOLUTION: 54

PROBLEM: Problem: if 1 / ( x + 4 ) + 1 / ( x - 4 ) = 1 / ( x - 4 ) , what is the value of x ?

SOLUTION: 4

PROBLEM: Problem: a certain company ’ s profit in 1996 was 15 percent greater than its profit in 1995 , and its profit in 1997 was 20 percent greater than its profit in 1996 . the company ’ s profit in 1997 was what percent greater than its profit in 1995 ?

SOLUTION:
38