for clock 1: gain per hour =20/24=5/6

for clock 2 : loss per hour = 40/24=10/6

so for six hours difference=10/6 *6 + 5/6 * 6=15 seconds

so when clock 1 is at 4 pm clock 2 will be at 3:59:45