solve exercise 47.07