solve exercise 35.04