x^2-5x=-10= x=5+i sqrt15/2,5-i sqrt15/2

Did I get this right.

If the equation you are trying to solve is

x^2 -5x = -10
which is the same as
x^2 -5x +10 = 0,
then
x = [5 +/- sqrt (-15)]/2
= (5/2) +/- i(sqrt15)/2

You need to be more careful placing parentheses in your answer, and separating the original equation from the answer.