Somebody help me finish this please

x^2 = -25
there is a solution if you know imaginary numbers
if you do not stop now and say no solution
else
take the square root
x = sqrt (-25)
x =sqrt(-1) sqrt(25)
x=+- 5i
x = 5i, -5i
x^2 =18
take the square root of each side
x =+-sqrt(18)
x=+- sqrt(9)sqrt(2)
x=+- 3sqrt(2)
x=3sqrt(2), -3sqrt(2)