Easiest Approach -
Following the process ( removing deg 2 vertices and adding edge ) will eat up all the degree 2 (n2) vertices without affecting degrees of other vertices ! Remaining edges =(n1+n3)-1------(i) ( |E|=n-1 for a tree ) ! Since this is not in option , think of manipulating the equation !!
Apply Sum Of degree theorem on the tree ( unmodified tree ) =n1 + n2*2 + n3*3= 2|E| (|E|= n1 + n2 + n3 -1)
=>n1-n3=2 ----(ii)
put (ii) in (i)-------Remaining Edges= 2*n1-3 ( OPTION A)
PS- This would not have been true if definition of degree would have been ,deg(node)=no of children