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