The LCM of the time intervals of the beeps will give the time when the electronic devices will beep together.
LCM of 15 and 20:
Required time = 5 × 3 × 2 × 2
= 60 min
So, they will beep simultaneously after 60 min or 1 h.
∴ They will beep together again at 7:00 a.m.