Context Word: note. 
Question: It was necessary for PersonX to write a note to remind themselves to do their homework but not for PersonY because _ had a poor memory. 
Answer: PersonX
It was necessary for PersonX to write a note to remind themselves to do their homework but not for PersonY because _ had a brilliant  memory.