The task is to generate the correct answer for a given math problem.

[EX Q]: Problem: two trains travel in opposite directions at 36 kmph and 45 kmph and a man sitting in slower train passes the faster train in 12 seconds . the length of the faster train is
[EX A]: 270 m

[EX Q]: Problem: calculate the sum of first 60 natural numbers .
[EX A]: 1830

[EX Q]: Problem: if 6 is one solution of the equation x ^ 2 + 3 x + k = 10 , where k is a constant , what is the other solution ?
[EX A]:
- 9