Solve Exercise 3.14