Two athletes start running simultaneously - the first from to , and the second from to . They run at different but constant speeds and meet at a distance of 300 meters from . After running the track to the end, each of them immediately turns back and meets the other again at a distance of 400 meters from . Find the length of .