solve exercise 46.04