Context Word: eat. 
Question: The horse trotted up to PersonX but went past PersonY, because _ had a carrot for it to eat. 
Answer: PersonX
The horse trotted past PersonX but went up to PersonY, because _ had a carrot for it to eat.