+y(tan‌x)=2x+x2‌tan‌x The integrating factor is, I.F.=e∫tan‌x‌d‌x =sec‌x Solution of the differential equation is, y(sec‌x)=∫(2x+x2‌tan‌x)‌sec‌x‌d‌x =∫(2x)‌sec‌x‌d‌x+∫(x2‌tan‌x)‌sec‌x‌d‌x = ∫2x‌sec‌x‌d‌x+x2‌sec‌x−∫2x‌sec‌x‌d‌x y=x2+c‌cos‌x