Which polynomial function has a leading coefficient of 1, roots –2 and 7 with multiplicity 1, and root 5 with multiplicity 2?

f(x) = 2(x + 7)(x + 5)(x – 2)
f(x) = 2(x – 7)(x – 5)(x + 2)
f(x) = (x + 7)(x + 5)(x + 5)(x – 2)
f(x) = (x – 7)(x – 5)(x – 5)(x + 2)

The correct polynomial function is:

f(x) = (x + 7)(x + 5)(x - 2)(x - 5)