Question 162857
Since I do not have any information on the grade level you are in, I will assume that you wrote the problem correctly, although the answer for the problem that you entered will have an imaginary answer:

You stated the problem as being x^2 = 2x – 5.
If that is correct, we set the equation to zero by adding –(2x-5) to both sides, or, maybe  more simply, by adding (-2x) and adding 5 to both sides.
This gives you x^2 – 2x + 5 = 0.
We now must use the quadratic formula.
X=[ -b ± sqrt (b^2 – 4ac)] / 2a  where a = 1, b = -2, and c = 5 from our equation.
This gives us:
X = [+2 ± sqrt (4 – 4(1)(5)] / 2
Which gives us….
X = [2 ± sqrt (-16)] / 2
Which gives us….
X = [2 ± 4i] / 2
Which gives us…
X = 1 ± 2i.

If  you are not working with imaginary numbers yet, check the signs of the problem that you submitted.  If the 5 is positive, then that would eliminate the imaginary answer.
Good luck.