### Derivatives

Calculate the first and second derivatives of the following function:
1. $f(x) = \frac{1+x}{1-x}$
2. $f(x) = x^2 e^{8x+\cos x}$
3. $f(x) = 8(x\ln x-x)^3$
4. $f(x) = x^x$