solve exercise 25.09