This equation is equivalent to the system
⎧⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪⎩x2−6x+8>0x2−6x+8≠12x2−2x−8>02x2−2x−8≠1log2x2−2x−8(x2+5x)>0log2x2−2x−8(x2−5x)=(x2−6x+8)0=1⇒x2+5x=2x2−2x−8
Solve the equation of the system
⇒⎧⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪⎩x<2andx>4x≠3±√2x<1−√172andx>1+√172x≠1±√192x=−1,8
x=−1, does not satisfy the third relation of this system. Hence x=8 is only root of the original equation.