solve exercise 25.06