To construct a polynomial function based on the given zeros and their multiplicities, we use the information provided:
- Zero at \( x = -5 \) with multiplicity 2 means that the factor corresponding to this zero will be \( (x + 5)^2 \).
- Zero at \( x = -10 \) with multiplicity 5 means that the factor corresponding to this zero will be \( (x + 10)^5 \).
Therefore, the polynomial function can be written as:
\[ f(x) = (x + 5)^2(x + 10)^5 \]
Thus, the correct answer is:
\[ f(x) = (x + 5)^2(x + 10)^5 \]