I solved Problem 2