Q: The task is to generate the correct answer for a given math problem.
Problem: a trained covered x km at 90 kmph and another 2 x km at 20 kmph . find the average speed of the train in covering the entire 3 x km .
A:
27