solve exercise 27.09