solve exercise 19.12 - 19.13