Context Word: computer. 
Question: PersonX but not PersonY had to spend a lot of money because _ needed a new computer for work. 
Answer: PersonX
PersonX but not PersonY had to spend a lot of money because _ did not need a new computer for work.