Can u explain the tree method in 13.1 problem 15 ?

Madhura N's image