Context Word: shaving. 
Question: PersonX was caught shaving his legs unlike PersonY because _ decided to do it in public. 
Answer: PersonX
PersonX was caught shaving his legs unlike PersonY because _ decided to do it in private.