Context Word: barcode. 
Question: PersonX asked PersonY to scan the barcode becasue the equipment being used by _ was broken. 
Answer: PersonX
PersonX asked PersonY to scan the barcode becasue the equipment being used by _ was working properly.