Ответ:
1. Students had opened their books before teacher came into the room.
2. If I were you I would consult the doctor.
3. What is the aim of the game?
4. We were writing a letter at 6 o'clock yesterday.
5. What sportsmen do you know?
6. It had been raining all the day yesterday.