Solution
We use logarithmic differentiation.
Let y=(x+x1)x+x(1+x1).
For the first term,
let A=(x+x1)x,
then logA=xlog(x+x1).
Differentiating gives
A1dxdA=log(x+x1)+x⋅x+x11−x21,
so
dxdA=(x+x1)x[log(x+x1)+x⋅x+x11−x21]=(x+x1)x[log(x+x1)+x2+1x2−1].
For the second term
B=x1+x1, we take logs: logB=(1+x1)logx.
Differentiating gives B1dxdB=−x2logx+x1+x1,
hence dxdB=x1+x1[−x2logx+x1+x1].
Therefore,
dxdy=(x+x1)x[log(x+x1)+x2+1x2−1]+x1+x1[−x2logx+x1+x1].