Hemfrid interview question

How would you solve this situation in your work?