Multiply top and bottom by ( 1- sinx)
Where 1 -sin^2x = cos^2x
Where u = cosx
du = - sinx
Substitute u value
Where 1/cosx = secx
The solution is