✓ Mathematica : cpu = 0.0260078 (sec), leaf count = 21
DSolve[-(Cos[x]^2*y[x]) + Tan[x]*Derivative[1][y][x] + Derivative[2][y][x] == 0,y[x],x]
✓ Maple : cpu = 0.063 (sec), leaf count = 17
dsolve(diff(diff(y(x),x),x)+diff(y(x),x)*tan(x)-y(x)*cos(x)^2=0,y(x))