solve exercise 31.01