Note that 5:30pm is 3 hours and 30 minutes from 2:00pm. And 3 hours 30 minutes is equivalent to 3*60 + 30 = 210 minutes. Since the local weather updates every 18 minutes, we have to wait for multiples of 18 minutes for the next weather update. We can see that 18 goes into 210 eleven times with a remainder of 12. So we're 12 minutes pass the latest weather update at 5:00pm, meaning that we have to wait 6 minutes more for the next weather update.