First, determine the head start distance A has. A starts at 1:00 p.m. and B starts at 1:40 p.m., meaning A travels for 40 minutes before B starts.
Convert the time difference to hours: $40 \text{ min} = \frac{40}{60} \text{ h} = \frac{2}{3} \text{ h}$.
A's speed is $40 \text{ km/h}$. The head start distance is calculated as:
Head Start Distance = $Speed_A \times \text{Time Difference} = 40 \text{ km/h} \times \frac{2}{3} \text{ h} = \frac{80}{3} \text{ km}$.
Next, find the relative speed between A and B. Since they are moving in the same direction, the relative speed is the difference between B's speed and A's speed.
Relative Speed = $Speed_B - Speed_A = 50 \text{ km/h} - 40 \text{ km/h} = 10 \text{ km/h}$.
The time B takes to catch up is the head start distance divided by the relative speed.
Catch Up Time = $\frac{\text{Head Start Distance}}{\text{Relative Speed}} = \frac{\frac{80}{3} \text{ km}}{10 \text{ km/h}} = \frac{80}{3 \times 10} \text{ h} = \frac{8}{3} \text{ h}$.
Finally, convert this time into minutes.
Catch Up Time in Minutes = $\frac{8}{3} \text{ h} \times 60 \text{ min/h} = 8 \times 20 \text{ min} = 160 \text{ minutes}$.
B will take 160 minutes to catch up with A.
Two buses start at the same time from two towns that are 264 km apart and travel towards each other along the same highway. The first bus travels at a speed of 22 km/h, while the second bus travels at a speed of 26 km/h. After how much time will they meet?