Compare (and label) branches of tree

Too bad you didn’t follow the forum guidelines and post your code/data. Without the code, you’ll have to guess at the expressions I used.