A cyclist travels from Town A to Town B at a speed of 24 km/h. Given that Town B is 72 km away from Town A, how long does it take for the cyclist to reach Town B? If the cyclist then rests for half the time it took to travel from Town A to Town B, how long is the total trip time including the rest period? Let's think step by step and output the final answer within \boxed{}.
user