solve exercise 34.07