Task: Story Composition
Input (English): Middle: He was not good at math. Ending: It was not easy, but by the time he went to bed, he had finished.
Output (English): Rick had 2 hours of math homework due tomorrow.