Social networks

Can anyone give me a hint for how to do number 7.30?

Thanks,

Matthew

Notice there is some nice symmetry in the coefficients. When this happens, a substitution $y = x + \dfrac{1}{x}$ can be helpful.

Social networks