Didnt write my question too good last time so here is what I meant.

This is a mixed ezpression written as fraction and then to be put in simplest form.

3/1 minus 2x-2/x^2-1

thank you

3/1 - 2x-2/(x^2-1) =

LCD = x^2-1.
(3(x^2-1)-2x+2)/(x^2-1) =
(3x^2-3-2x+2)/(x^2-1) =
(3x^2-2x-1)/(x^2-1) =
Factor the numerator and denominator:
(x-1)(3x+1)/(x-1)(x+1) = (3x+1)/(x+1).