-2 - 2*x
------------
2
4 - 2*x - x
$$\frac{- 2 x - 2}{- x^{2} + \left(4 - 2 x\right)}$$
/ 2 \
| 2*(1 + x) |
2*|1 - -------------|
| 2 |
\ -4 + x + 2*x/
---------------------
2
-4 + x + 2*x
$$\frac{2 \left(- \frac{2 \left(x + 1\right)^{2}}{x^{2} + 2 x - 4} + 1\right)}{x^{2} + 2 x - 4}$$
/ 2 \
| 4*(1 + x) |
4*(1 + x)*|-3 + -------------|
| 2 |
\ -4 + x + 2*x/
------------------------------
2
/ 2 \
\-4 + x + 2*x/
$$\frac{4 \left(x + 1\right) \left(\frac{4 \left(x + 1\right)^{2}}{x^{2} + 2 x - 4} - 3\right)}{\left(x^{2} + 2 x - 4\right)^{2}}$$