solutions for exercise 12 5066911