solve exercise 43.12