solve exercise 35.02