solve exercise 34.01