Решение:
Past Perfect используется для обозначения действия, которое произошло до другого действия или момента в прошлом.
- I had had breakfast before I went to school.
- He went to meet his friends after he had done his homework.
- He had worked at the factory before he entered the college.
- Alice got a bad mark for his test because she had made a lot of mistakes in it.
- She went to the post office after she had written the letter.
Ответ: 1. had had; 2. had done; 3. had worked; 4. had made; 5. had written.