When Cody started cycling from his home, Gabriel was 250 m ahead. Cody's cycling speed was 8 m/s and Gabriel's cycling speed was 3 m/s. They went in the same direction and did not change their speeds throughout. What distance would Cody have cycled when he caught up with Gabriel?