5: The answer is

The alternative solution yields

The answers are the same. To see this, in the logarithmic term of the first answer, multiply the numerator and denominator by the denominator and simplify.