solve exercise 49.07