Answer:

Explanation:
We know that,

Given, 
Distance = 500 miles,
Time = 8 hours 
Thus, the speed = 

Since, the train continues to travel at a constant rate,
⇒ The Distance it will cover in 1 hour = 62.5 miles,
⇒ The distance it will cover in x hours = 62.5x
Let y represents the distance cover by train in x hours,

Which is the required equation.