Put in the Past Perfect Simple, Past Perfect Continuous

1. By the time we got to the theatre, the play (already start).
2. I (drive) for five hours when we arrived in the city.
3. I He (always/think) of being a basketball player before he had an accident.
4. When he got to the finish line, he (run) for three hours.
5. By the time they left the town, their mechanic (repair) the van.
6. When Peter ran across those obstacles, he (travel) for two hours.
7. Jack (brush) his teeth by the time he went out.
8. After they (open) the door, they saw that awful mess.
9. When I came to the quay, our ship (sail) for a few minutes.
10. We (work) in the garden for a long time when we found the water hole.
11. After the thunderstorm (stop) we left the shelter.
12. Before the firefighters saved the frightened kitten, they (have to) bring a long ladder.
13. The football fans (demolish) the town for some time when the police arrived.