To factor $ 5x^{3}-10x^{2}+9x-18 $ we can use factoring by grouping:
Group $ \color{blue}{ 5x^{3} }$ with $ \color{blue}{ -10x^{2} }$ and $ \color{red}{ 9x }$ with $ \color{red}{ -18 }$ then factor each group.
$$ \begin{aligned} 5x^{3}-10x^{2}+9x-18 = ( \color{blue}{ 5x^{3}-10x^{2} } ) + ( \color{red}{ 9x-18 }) &= \\ &= \color{blue}{ 5x^{2}( x-2 )} + \color{red}{ 9( x-2 ) } = \\ &= (5x^{2}+9)(x-2) \end{aligned} $$