Answer:
Metra train is going at 30 mph.
Amtrak train is going at 80 mph.
Explanation:
Let s be the speed of the Metra commuter train.
Then the speed of Amtrak train will be =

Distance traveled by the commuter train at 3pm = 3s
Distance traveled by Amtrak train at 3 pm =

We know that distance = speed x time
commuter distance = Amtrak distance + 10 miles





So, s = 30 mph
The Metra commuter is going at 30 mph.
The Amtrak train is going at
mph