solutions for exercise 22 7551724