+y=e−x ∴‌‌‌ I.F. ‌=e∫dx=ex ∴‌‌ Solution of the given equation is ‌yex=∫ex⋅e−xdx+c ‌⇒yex=∫dx+c ‌⇒yex=x+c...(i) Since the curve passes through (0,0). ∴‌‌0=0+c ‌⇒c=0 ∴‌‌yex=x‌‌...[‌ [From (i)] ‌ ‌⇒yex−x=0