solve exercise 45.01