Divide numerator and denominator by cos²xReplace sec²x by (1 + tan² x)Put tan x = tdt = sec²xdxThe integral reduces to ∫[1/(At² +Bt +C)]dt