solution exercise 3 2821959