Arm interview question

How do you find the solution?