When John started cycling from his home, Billy was 45 m ahead. John's cycling speed was 5 m/s and Billy's cycling speed was 2 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 Billy?