Question

$$(x+9)(x-5)^{2}(x-18)>0$$

Solve for x

$x\in \left(-\infty,-9\right)\cup \left(18,\infty\right)$