Solve Problem 4