The teacher said, "Why didn't you do your home work?" Convert into indirect speech.
The teacher asked me why I hadn't done my homework.