2 предложения Past Perfect +,-
when we arrived, he had left already.
when she came, he had cooked dinner already.
i had done my homework before i went to walk. я сделал дз до того как пошёл гулять
she went to school after she hadn’t eaten breakfast она пошла в школу, не съев завтрак