A train started at Amityville and travelled at a constant velocity towards Brookville. At the same time, a train started at Brookville and travelled at a constant velocity towards Amityville.
After they met, the first train travelled for nine more hours before reaching Brookville, and the second train travelled for four more hours before reaching Amityville.