Tom and Fabian started jogging at the same time along the route shown. Both did not change their speed throughout. After 50 min, Tom was at the halfway point and Fabian was 490 m behind. Tom reached the end point 5 minutes before Fabian. What was the distance of the route? Express the answer in m.