HSBC interview question

How do you solve problem?