Анонимно

исправьте пожалуйста

they would have opened the door if they knew who was there.

Ответ

Анонимно
they would have opened the door if they had known who was there.