Answer:
The average speed of the train is 45 km/h
Step-by-step explanation:
Speed
It's defined as the distance (d) per unit of time (t) traveled by an object. The formula is:

Let's call x the total distance covered by the train. It covered d1=1/3x with a speed of v1=25 km/h. The time taken is calculated solving for t:



Now the rest of the distance:
d2 = x - 1/3x = 2/3x
Was covered at v2=75 km/h. Thus the time taken is:



The total time is:



Simplifying:

The average speed is the total distance divided by the total time:

Simplifying:

The average speed of the train is 45 km/h