Answer:
x=-4
x=6
Explanation:
Lets put to work the well known quadratic equation:

Let us also, remember the given equation: x^2-2x-24=0
Where 'a' would be equals to 1, 'b' equals to -2 and c equals to -24.
The quadratic equations with those values is:

Where we obtain two values.
x1= -4
and x2= 6