TASK DEFINITION: The task is to generate the correct answer for a given math problem.
PROBLEM: Problem: two trains , a and b , started simultaneously from opposite ends of a 125 - mile route and traveled toward each other on parallel tracks . train a , traveling at a constant rate , completed the 125 - mile trip in 12 hours ; train b , traveling at a constant rate , completed the 125 - mile trip in 8 hours . how many miles had train a traveled when it met train b ?

SOLUTION: 5

PROBLEM: Problem: a , b and c are partners in a business . their capitals are respectively , rs . 5000 , rs . 6000 and rs . 4000 . a gets 30 % of the total profit for managing the business . the remaining profit is divided among 3 in the ratio of their capitals . in the end of the year , the profit of a is rs . 200 more than the sum of the profits of b and c . find the total profit ?

SOLUTION: 3000

PROBLEM: Problem: the perimeter of a rectangular yard is completely surrounded by a fence that measures 36 meters . what is the length of the yard if the area of the yard is 40 meters squared ?

SOLUTION:
8