Task: Story Composition
Input (English): Beginning: Rick had 2 hours of math homework due tomorrow. Middle: Rick decided he would get it all done that night. Ending: It was not easy, but by the time he went to bed, he had finished.
Output (English): Rick decided he would get it all done that morning.