solve exercise 27.15