-( 2*x - 3*pi*sec(3*pi*x)^2) * sin(x^2-tan(3*pi*x))