Use a technique called factoring by grouping. You should read up on this as it is a very useful technique
Will make into 2 groups
8x^3 -12x^. +. 18x -27. Then factor each group separately
4x^2(2x -3). + 9( 2x-3). Both these pairs have a common factor of 2x-3
So can rewrite as (4x^2 +9)( 2x-3) and there you have it