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