✓ Mathematica : cpu = 0.0266617 (sec), leaf count = 18
DSolve[Cos[x]^2*y[x] + Tan[x]*Derivative[1][y][x] + Derivative[2][y][x] == 0,y[x],x]
✓ Maple : cpu = 0.126 (sec), leaf count = 15
dsolve(diff(diff(y(x),x),x)+diff(y(x),x)*tan(x)+y(x)*cos(x)^2=0,y(x))