Put the verb into the most suitable form, past continuous (I was doing), past perfect (I had done) or past perfect continuous (I had been doing).
I was sad when I sold my car. I *** (have) it for a very long time.
It was very noisy next door. Our neighbours were having a party.
We were good friends. We had known each other for a long time.
John and I went for a walk. I had difficulty keeping up with him because he was walking so fast.
Mary was sitting on the ground. She was out of breath. She had been running.
When I arrived, everybody was sitting round the table with their mouths full. They were eating.
When I arrived, everybody was sitting round the table and talking. Their mouths were empty but their stomachs were full. They had been eating.
Jim was on his hands and knees on the floor. He was looking for his contact lens.
When I arrived, Kate was waiting for me. She was rather annoyed with me because I was late and she had been waiting for a very long time.
I was sad when I sold my car. I had had it for a very long time.
We were extremely tired at the end of the journey. We had been travelling for more than 24 hours.