Arm Interview Question

How do you find the solution?