Simplify the expression
4x11x+1xx1+1x+1\displaystyle {\frac{{{\frac{{{4}}}{{{x}-{1}}}}-{\frac{{{1}}}{{{x}+{1}}}}}}{{{\frac{{{x}}}{{{x}-{1}}}}+{\frac{{{1}}}{{{x}+{1}}}}}}}
and 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 :