Solve[3*e^(-x)+(1-x) == 0,x]