help hel0 plis plis plis help plisssssss

1. He won the race because he had been exercising for hours everyday.
2. We had played tennis since 4 o'clock before Martin fainted.
3. Had you written the article before we visited you?
4. Before the accident happened they had been arguing all morning.
5. I was very sleepy that morning because I had been learning all night.
6. Sarah hadn't cleaned her flat before I came.