1. By the time we arrived, they __________ (wait) for us for over an hour.
2. She __________ (study) for three hours before she took a break.
3. When we met them last year, they __________ (live) in Paris for five years.
4. By the time the train arrived, I __________ (stand) on the platform for twenty minutes.
5. They __________ (work) on the project for months before they finally completed it.
6. Before the teacher entered the classroom, the students __________ (talk) loudly.
7. He __________ (practice) for the competition for weeks before he got injured.
8. By the time we found the dog, it __________ (wander) in the forest for days.
9. She __________ (wait) for the bus for half an hour before it finally arrived.
10. By the time he decided to call her, she __________ (try) to reach him for hours.