Unable to solve the problem

How to calculate the answer of the problem attached