To add or subtract expressions, expand them to make their denominators the same. Least common multiple of $x-1$ and $x+1$ is $\left(x-1\right)\left(x+1\right)$. Multiply $\frac{x+1}{x-1}$ times $\frac{x+1}{x+1}$. Multiply $\frac{x-1}{x+1}$ times $\frac{x-1}{x-1}$.
Since $\frac{\left(x+1\right)\left(x+1\right)}{\left(x-1\right)\left(x+1\right)}$ and $\frac{\left(x-1\right)\left(x-1\right)}{\left(x-1\right)\left(x+1\right)}$ have the same denominator, add them by adding their numerators.
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of $x-1$ and $x+1$ is $\left(x-1\right)\left(x+1\right)$. Multiply $\frac{x+1}{x-1}$ times $\frac{x+1}{x+1}$. Multiply $\frac{x-1}{x+1}$ times $\frac{x-1}{x-1}$.
Since $\frac{\left(x+1\right)\left(x+1\right)}{\left(x-1\right)\left(x+1\right)}$ and $\frac{\left(x-1\right)\left(x-1\right)}{\left(x-1\right)\left(x+1\right)}$ have the same denominator, add them by adding their numerators.