chaper 5 exercise 5.2 solution

Amit Nepal's image