The differential equation of family of straight lines whose slope is equal to y−intercept is
Find a particular solution of the differential equation (x+1)dydx=2e−y−1, given that y=0 when x=0.