A clock gains 2 mins in a day and another clock loses 3 mins in a day. Both watch are set to the correct time . When will they both next show the correct time?(in number of days)

Please show work.

after 1 day, the two clocks will show a difference of 5 minutes

after 2 days, the two clocks will show a difference of 10 minutes
...
after n days the clocks will show a difference of 5n minutes.

One day consists of 1440 minutes.
number of days needed to make up this time
= 1440/5 = 288 days

However, if we have a standard analog clock showing only 12 hours, it would be
144 days.