Past simple:
1. He was at home last week.
2. I bought three dresses yesterday.
3. I managed to find what he really wanted.
4. Did you do your homework?
Past perfect:
1. She had met Anne before the party started.
2. I had written the letter by the time I got home.
3. I had fallen asleep before eight o'clock.