You could solve it using the quadratic formula.
https://www.youtube.com/watch?v=O8ezDEk3qCg
but it is easy enough to do by factorising.
$$x^2-2x-8=0$$
You need to find two numbers that multiply to give -8 (straight away you know that one is neg and one is pos)
and they have to add to -2 (so the bigger looking one is neg)
-4 and 2 That was easy.
$$(x-4)(x+2)=0$$
Now, if you are happy you can give me a thumbs up. I would like that!
Now, if 2 things are going to multiply to give 0 then one (or both) of them must be zero.
so x-4=0 or x+2=0
x=4 or x=-2