solve exercise 35.11a