Solve x^2=log(x+5)