solve exercise 36.05