@user330477 which part? there are formulas for sums and products of polynomials. The part that plugging in polynomials into another polynomial is the same as multiplying, adding and scalar multiplying the inputs together in some way is just true "upon inspection". If $f(x_1, \dots, x_n)=\sum \lambda_{i_1, \dots, i_n} x_1^{e_1} \dots x_k^{e_n}$, then you get $f(h_1(x), \dots, h_n(x))= \sum \lambda_{i_1, \dots, i_n} h_1(x)^{e_1} \dots h_n(x)^{e_n}$,
this is a sum of products of polynomials, thus a polynomial