solve exercise 35.05