solve exercise 35.07