Which sentence has the correct pronoun and antecedent agreement?(1 point)

Responses

When the teachers arrived at school, she saw the students writing with chalk.
When the teachers arrived at school, she saw the students writing with chalk.

The dogs wagged their tails.
The dogs wagged their tails.

Because the brothers were tired, he forgot to shut the gate and the dogs ran out.
Because the brothers were tired, he forgot to shut the gate and the dogs ran out.

The cat is sitting in the windowsill, and them is basking in the sun.

The cat is sitting in the windowsill, and it is basking in the sun.