Simplify the expression 3x31x210x2x27x+6\displaystyle {\frac{{{3}{x}^{{3}}-{1}{x}^{{2}}-{10}{x}}}{{{2}{x}^{{2}}-{7}{x}+{6}}}}

Give your answer in the form of f(x)g(x).\displaystyle {\frac{{{f{{\left({x}\right)}}}}}{{{g{{\left({x}\right)}}}}}}.

Your answer for the function f(x)\displaystyle {f{{\left({x}\right)}}} is :  
Your answer for the function g(x)\displaystyle {g{{\left({x}\right)}}} is :