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