1. When I came home, mother had already cooked dinner.
2. When the teacher entered the classroom, the pupils had already opened their books.
3. Kate gave me the book which she had bought the day before.
4. Nick showed the teacher the picture which he had drawn.
5.The teacher understood that Lena hadn't done her home work.