solve exercise 27.05