You need an x in the numerator. Instead, use partial fractions. x^2-8 = (x+√8)(x-√8) You will wind up with logs of those factors.
You can ask a new question or answer this question.