According to the Newton’s law o‘f cooling, the rate of loss of heat is directly proportional to the difference of temperature. Or we can say which gives a consequence about rate of fall of temperature of a body with respect to the difference of temperature of body and surroundings.
The first option would have kept water warmer because by adding hot water to cold water, the temperature of the mixture decreases. Due to this temperature difference between the mixed water in the bucket and the surrounding decreases, thereby the decrease in the rate of loss of the heat by the water.
In second option, the hot water in the bucket will lose heat quickly. So if he first attend to the work and fill the remaining bucket with cold water which already lose much heat in 5-10 minutes then the water become more colder as comparison with first case.