2.By the time I got home they HAD watched half of the film.
3.When DID you realize that your bike had been stolen?
5. HAD SHE been living in her old flat for a long time before she moved?
7.Mike HAD been queuing for over an hour before he managed to speak to someone.