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