solve exercise 49.15