Sam and Howard started jogging at the same time along the route shown. Both did not change their speed throughout. After 20 min, Sam was at the halfway point and Howard was 400 m behind. Sam reached the end point 8 minutes before Howard. What was the distance of the route? Express the answer in m.