This is another delightful H. E. Dudeney puzzle.
“Mr. Gubbins, a diligent man of business, was much inconvenienced by a London fog. The electric light happened to be out of order and he had to manage as best he could with two candles. His clerk assured him that though both were of the same length one candle would burn for four hours and the other for five hours. After he had been working some time he put the candles out as the fog had lifted, and he then noticed that what remained of one candle was exactly four times the length of what was left of the other.
When he got home that night Mr. Gubbins, who liked a good puzzle, said to himself, ‘Of course it is possible to work out just how long those two candles were burning to-day. I’ll have a shot at it.’ But he soon found himself in a worse fog than the atmospheric one. Could you have assisted him in his dilemma? How long were the candles burning?”