1. Kate had been working for that company for five years when it went out of business.
2. Mark wanted to sit down because he had been standing all day at work.
3. Jack had been teaching at the university for more than a year before he left for Asia.
4. How long had you been studying Japanese before you moved to Tokyo?