solve exercise 37.10