Context Word: goat. 
Question: The old goat trotted up to PersonX but past PersonY, because _ had carrots in their hands. 
Answer: PersonX
The old goat trotted past PersonX and up to PersonY, because _ had carrots in their hands.