The derivative of tanxx with respect to x is
sinx4xcosx
sec2x4xtanx
−sinx4xcosx
−sec2x4xtanx
ddxtanx=12tanx⋅sec2x⋅12x=sec2x4xtanx