solve exercise 49.14