\(=\int\limits^{\dfrac{\pi}{4}}_0\dfrac{2cos^2x-1-3\left(1-cos^2x\right)}{cos^2x}dx=\int\limits^{\dfrac{\pi}{4}}_0\dfrac{5cos^2x-4}{cos^2x}dx\)
\(=\int\limits^{\dfrac{\pi}{4}}_0\left(5-\dfrac{4}{cos^2x}\right)dx=\left(5x-4tanx\right)|^{\dfrac{\pi}{4}}_0=...\)