solve exercise 36.06