log(x^2-5)-log(x) = log(4)
Use the logarithmic law that states that log(a)-log(b) = log(a/b)
log((x^2-5)/x) = log(4) (Here's were your error is in your calculation)
(x^2-5)/x = 4
x^2-5 = 4x
Solving this equation gives the solution x = -1 and x = 5.
But since negative solutions are not defined in the equation log(x) the only solution is x = 5.