Solve the problem 2