Context Word: sleep. 
Question: PersonX talked in their sleep and PersonY found it hard to sleep with noise so _ went to see a specialist. 
Answer: PersonX
PersonX talked in their sleep and PersonY found it hard to sleep with noise so _ went to buy some earplugs.