Read these sentences and choose the correct variant.
1. I washed the floor when the painter having goneI washed the floor when the painter had gone 2. I had know before about the contract they signedI had known before about the contract they signed 3. By the time Doris got to the party, everyone had gone homeBy the time Doris got to the party, everyone had go home