Solved problem 7.