A tree contains exactly one vertex of degree $d$, for each $d\in\{3, 9, 10, 11, 12\}$.
Every other vertex has degrees $1$ and $2$. How many vertices have degree $1$?
I've only tried manually drawing this tree and trying to figure it out that way, however this makes the drawing far too big to complete , I'm sure there are more efficient methods of finding the solution.
Could someone please point me in the right direction!
Suppose there are $n_1$ vertices of degree $1$ and $n_2$ vertices of degree $2$.