Решение:
Нужно преобразовать прямой вопрос в косвенный. Используем союз if.
- Исходный вопрос: "Did they sleep in the afternoon?"
- Преобразуем в косвенный: They asked me if they slept in the afternoon.
Ответ: They asked me if they slept in the afternoon.