What is the derivative of #f(x)=(lnx)^2-x#?