5 minutes ago of 1:15 pm is 1:10 pm. This is the last time that both buckets dump water together. The least multiple of both 21 and 18 is 126. Therefore, every after 126 minutes they will dump water together.
126 minutes is equal to 2 hours and 6 minutes.
(1) Time 1:
1:10 pm + 2:06 = 3:16 pm
(2) Time 2:
3:16 pm + 2:06 = 5:22 pm