[tex]Firstly, =\left(x^3-2x^2\right)+\left(3x-6\right)[/tex]
[tex]\mathrm{Factor\:out\:}x^2\mathrm{\:from\:}x^3-2x^2\mathrm{:\quad }x^2\left(x-2\right)[/tex]
[tex]\mathrm{Factor\:out\:}3\mathrm{\:from\:}3x-6\mathrm{:\quad }3\left(x-2\right)[/tex]
[tex]=x^2\left(x-2\right)+3\left(x-2\right)[/tex]
[tex]\mathrm{Factor\:out\:common\:term\:}\left(x-2\right)[/tex]
[tex]=\left(x-2\right)\left(x^2+3\right)[/tex]
Hope this helps.