integrate sin^3(x)/((cos^4(x)+3cos^2(x)+1)*tan(x)^(-1)*(sec(x)+cos(x)))