solve exercise 42.06