Odpowiedź :
34. The lesson had already started when I arrived.
35. When I got to the park I found out that I had lost my keys.
37. When he had painted the kitchen he decided to have a rest.
38. After I had finished the report, I saw that it was too late.