Read and write only the correct forms of the verbs. Use the past perfect or the past perfect continuous.
1. Kate (type) the letters by the time her boss came to the office.
2. I (live) in London for 5 years when I met my husband.
3. She (work) for this shop for 4 years before she moved to France.