Transform the sentences into indirect speech.
1.Mr.Morgan asked David: "What are you doing near my room?"
2.Robert said to his sister: "Would you help me to finish the work?"
3.The guide explained :" The architect designed this palace last century."
4.The boy promised to the teacher :" i will have learnt the poem by the next lesson."