Crosses at \(x=-2\) \(\implies\) odd multiplicity (e.g., \(1\)). Factor: \((x+2)\).
Tangent at \(x=1\) \(\implies\) even multiplicity (e.g., \(2\)). Factor: \((x-1)^2\).
Inflection cross at \(x=5\) \(\implies\) odd multiplicity > \(1\) (e.g., \(3\)). Factor: \((x-5)^3\).
Possible form: \(P(x) = a(x+2)(x-1)^2(x-5)^3\).