Answer:
The correct option is D.
Explanation:
According the definition of roots if a function f(x) have a root c, then (x-c) is a factor of f(x).
The function is defined as,

Where c is a constant,
are roots with multiplicity
respectively.
It is given that the roots of the function are 5,7 and -8, therefore the factors of the polynomial are (x-5),(x-7) and (x+8).
Multiply the factors to get the function.





Therefore, the correct option is D.