Context Word: makeup. 
Question: PersonX but not PersonY spent a lot of time in the bathroom because _ had to put on their makeup. 
Answer: PersonX
PersonX but not PersonY spent a lot of time in the bathroom because _ did not have to put on makeup.