You have to fill each space with either the past continuous, past perfect simple or past perfect continuous.
Don't use contractions.
⬇️ 1. I was exhausted at the end of the exam. I _________(write) for over two hours.
⬇️ 2. When thieves stole my favourite leather jacket, I was really upset. I ________ (have) it for over ten years.
⬇️ 3. Please step out of the car, Mr. Jones. Do you realise you ________ (drive) at over 90mph?
⬇️ 4. We didn't really want to go and see the musical again. We _________ (already see) it twice - so we said "no" and we went to a restaurant instead!
⬇️5. I arrived over an hour late to the office and everyone was working. Actually, they _________ (work) for over two hours on the new project and I felt really guilty.