How do you differentiate # f(x)=xe^((lnx-2)^2 # using the chain rule.?