How to solve this question