d^2x/du^2=d(dx/du)/du=(d(dx/du)/dx)(dx/du)