An independent dominating set of the simple graph G=(V,E) is a vertex subset that both and in G. The domination polynomial G Di(G,x)=∑Ax|A|, summed over all subsets A⊆V. A root Di(G,x) called an independence root. We investigate polynomials some generalized compound graphs. As consequence, we construct graphs whose roots are real. Also, consider related to paths study number their sets.