To find when the two trolleys will arrive together at the main building, we need to determine the least common multiple (LCM) of their arrival intervals.
The first trolley arrives every 4 minutes, and the second trolley arrives every 10 minutes.
To find the LCM of 4 and 10, we can list the multiples of each:
- Multiples of 4: 4, 8, 12, 16, 20, 24, ...
- Multiples of 10: 10, 20, 30, 40, ...
The smallest common multiple in both lists is 20.
Thus, the next time the trolleys will arrive together at the main building is in 20 minutes.