A cyclist rides at a constant speed of 8 m/s and travels 240 meters. How long does it take the cyclist to complete this task?