Don't know the steps in finding this derivative.
But the derivative is
Now simplify:
The answer is:
x - 2 / x - 2 \
log (x)*|-------- + log(log(x))|
\x*log(x) /
/ -2 + x -2 + x \
| 2 -2 + ------ + --------|
-2 + x |/ -2 + x \ x x*log(x)|
log (x)*||-------- + log(log(x))| - ----------------------|
\\x*log(x) / x*log(x) /
/ 3 2*(-2 + x) 2*(-2 + x) 3*(-2 + x) \
| -3 - ------ + ---------- + ---------- + ---------- / -2 + x \ / -2 + x -2 + x \|
| 3 log(x) x 2 x*log(x) 3*|-------- + log(log(x))|*|-2 + ------ + --------||
-2 + x |/ -2 + x \ x*log (x) \x*log(x) / \ x x*log(x)/|
log (x)*||-------- + log(log(x))| + -------------------------------------------------- - ---------------------------------------------------|
|\x*log(x) / 2 x*log(x) |
\ x *log(x) /