solve the linear ODEs

dx − (1 + 2x tan y) dy = 0

Read up on Abel's Equation

x = c sec^2y + 1/2 (tany + y sec^2y)