Write the next sentence.

Robert told Dennis that the children had to go to sleep by 9pm because
Robert was going out.