Context Word: child. 
Question: The child of PersonX was better at math than the child of PersonY, as a result of _ being a math teacher. 
Answer: PersonX
The child of PersonX was better at math than the child of PersonY, as a result of _ being a house maid.