Because you squared the equation you may have introduced some extraneous solutions so check any answers you get against the original question. In other words $x^2+x-5 > 0$