Solve: cos²x dy/dx + y = tanx