we have
x+y+10=0 --------> equation A
x^2+y-2=0 ------> equation B
Isolate the variable y in equation A and equation B
so
y=-10-x
y=2-x^2
equate both equations
-10-x=2-x^2
solve for x
x^2-x=2+10
x^2-x-12=0
Solve with the formula of quadratic equation
a=1
b=-1
c=-12
![\begin{gathered} x=\frac{1\pm\sqrt[\square]{(-1^2)-4(1)(-12)}}{2} \\ \\ x=(1\pm7)/(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/dor24dvpk1wnrn075bkwieyi2ol4ehum9c.png)
therefore
the values of x are
x=4 and x=-3