Kaplan interview question

How to solve this problem? How to handle this situation?