Input (grade 6): After giving birth to the baby, Maia wrapped him in blankets and went to sleep.
Output (grade 6): After Maia gave birth to Hermes she wrapped him in blankets and then went to sleep.