1. He had walked fot an hour before he reached the cabin.
2. She was tired because she hadn't slept the previous night.
3. Greg was looking for his book for two hours before he found it.
4. He was working since morning on his computer and his eyes were red.