Original: After giving birth to the baby, Maia wrapped him in blankets and went to sleep.
Simplified: After Maia gave birth to Hermes she wrapped him in blankets and then went to sleep.