[latex]frac{x^{2}-4}{x+2} = 2x-5\\x eq -2\\frac{(x+2)(x-2)}{x+2} = 2x-5\\x-2 = 2x-5\\x - 2x = -5+2\\-x = -3 |*(-1)\\x = 3[/latex]