solve exercise 27.07