Solving Problem 10.