solve exercise 26.10