Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: if a car went the first third of the distance at 80 kmh , the second third at 30 kmh , and the last third at 48 kmh , what was the average speed of the car for the entire trip ?
