Equation that is set up is 70*6=30x
70 being the miles an hour or passenger train’s speed
6 being the number of hours it drives for
30 being the miles an hour/cattle train speed
X being the number of hours the cattle train has driven for
Now you can solve for x