Ответ:

Перевод задания: Раскройте скобки, поставив глаголы в Past Simple, Past Continuous или Past Perfect.

When I opened the door of the classroom, I saw that the lesson had already begun and the pupils were writing a dictation.

Когда я открыл дверь класса, я увидел, что урок уже начался и ученики писали диктант.

Ответ: opened, saw, had already begun, were writing.