Read these sentences and choose the correct variant.
1.
I washed the floor when the painter had gone
I washed the floor when the painter having gone
2.
I had know before about the contract they signed
I had known before about the contract they signed
3.
Before I knew it, she having run out the door
Before I knew it, she had run out the door
Помогите англ яз, тут надо выбрать какое правельное 1 или 2 пожалуйста, даю 25 баллов.