Context Word: friends. 
Question: The man had been friends with PersonX for a longer time than PersonY because _ went to high school with him. 
Answer: PersonX
The man had been friends with PersonX for a shorter time than PersonY because _ went to high school with him.