Write a function in any form that would match the graph shown below

9514 1404 393
Answer:
f(x) = 2(x +2)^2(x -5)
Step-by-step explanation:
The root at x=-2 has even multiplicity. The curve is not flat there, so the multiplicity is 2, not higher. The root at x=5 has multiplicity 1. Then the factored form of this cubic is ...
f(x) = a(x +2)^2·(x -5)
The local minimum when a=1 is about -50, so we judge the leading coefficient to be 2. The desired function is ...
f(x) = 2(x +2)^2(x -5)