For this case we can translate the sentence as:
When I arrived from school and there was no one in my house, I went to the home of _______________.
We must complete the prayer. The options we have are:
It is observed that the option that best adapts is option A.
When I arrived from school and there was no one in my house, I went to the neighbor's house.
Answer:
Cuando llegaba de la escuela y no había nadie en mi casa, iba a casa de la vecina.