Solved problem 5.