y' + (tanx)y = 2(cosx)^2, y(0) = -2