Mindspace interview question

How would you handle X