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