solve exercise 42.07