How do I solve this?

(-2) = (-2)^3 - x^2 + 7
-2 = -8 - x^2 + 7
-2 = -x^2 - 1
x^2 = 1
x = +/-1
answer
x = -1 , 1
So firstly, solve -2^3: [tex] -2=-8-x^2+7 [/tex]
Next, combine like terms: [tex] -2=-x^2-1 [/tex]
Next, add 1 on both sides of the equation: [tex] -1=-x^2 [/tex]
Next, multiply both sides by -1: [tex] 1=x^2 [/tex]
Next, square root both sides: [tex] +/-\sqrt{1}=x [/tex].
Next, solve it twice, once with the + symbol and once with the - symbol:
[tex] +\sqrt{1}=x\\ 1=x [/tex]
[tex] -\sqrt{1}=x\\ -1=x [/tex]
In short, x = -1, 1