solve exercise 29.05