this question can be done without the help of number of edges .
We know that :
number of internal nodes with 2 children (I) = number of leaf nodes (L) - 1
n1 is node with degree 1 -- they are leaf nodes [h,e,f,g]
n2 is node with degree 2 -- they are nodes with 1 children and the root node [a ,d]
n3 is node with degree 3 -- they are internal nodes with two children but it does not include the root node because root node has degree 2 [b,c]
so ,
n3 = internal node - 1 {this 1 excludes the root node }
n3 = (leaf nodes - 1) - 1
n3 = n1 - 2
hence option B is correct .