I'm fairly sure this is the correct answer:

e^-3x = 27

-3x = ln27

x = ln27 / -3

However, in the answers section of my textbook, the given value for the answer is -ln3.

Please can someone help explain how the two answers are related and how to obtain such answer from the equation. I am only familiar with the above method.

Thanks!