1. I'd been walking along the road for about ten minutes when a car suddenly stopped just behind me.
2. We'd been playing basketball for about half an hour when it started to rain a lot.
3. Peter had been waiting to me for a long time, because I arrived late.