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