If one gains two minutes and the other loses 5 minutes, then they change a total of five minutes per day. If the clocks are 12-hour clocks, it will take 12*60/5=144 days for the two clocks to be the same again. If they are 24-hour clocks, it will take 24*60/5=288 days for the clocks to show the same time.