Choose the right indirect speech : 'What are you doing? asked the teacher.

Answer: 
The teacher asked what he was doing.
Choose the right indirect speech : 'What are you doing? asked the teacher.