How does ln(e^-x) = -x

I know that the derivative of ln is 1/x so it would be 1/(e^-x) but how does that simplify to -x? I am confused....

Havent I answered this before? What was wrong with my thinking?