Concept:This is a first-order linear differential equation, solved using an integrating factor.Explanation:Given: (1+x)dxdy−xy=1−xRewrite in standard linear form:dxdy−1+xxy=1+x1−xIntegrating factor:I.F. =e−∫1+xxdx=e∫(−1+1+x1)dx=e−x+ln(1+x)=e−x(1+x)Multiply both sides of the equation by the I.F.:y(1+x)e−x=∫1+x1−x(1+x)e−xdx+cy(1+x)e−x=∫(1−x)e−xdx+c=∫e−xdx−∫xe−xdx+c=−e−x−(−xe−x−e−x)+c=xe−x+cThus:y(1+x)e−x=xe−x+cMultiplying by ex:y(1+x)=x+cexAnswer:y(1+x)=x+cex, where c is the constant of integration.Therefore, the correct option is A.