Answer:
-12 and 2
Step-by-step explanation:
[tex]x^2+10x=24\\[/tex]
[tex]x^2+2*5*x=24[/tex]
[tex]x^2+2*5*x+5^2-5^2=24[/tex]
[tex](x^2+2*5*x+5^2)-5^2=24[/tex]
Using the identity
[tex]a^2+2*a*b+b^2 = (a+b)^2[/tex]
we get
[tex](x+5)^2-5^2=24[/tex]
[tex](x+5)^2-25=24\\[/tex]
[tex](x+5)^2=24+25\\(x+5)^2=49\\(x+5)=+7 \\or (x+5)=-7\\[/tex]
Solving both of them we get
x=-12 or x=2