The equation is given as,
[tex]x^2-6x+8=0[/tex]Factorizing the given equation,
[tex]\begin{gathered} x^2-6x+8=0 \\ x^2-4x-2x+8=0 \\ \end{gathered}[/tex]Taking common terms out of the bracket,
[tex]\begin{gathered} x\left(x-4\right)-2\left(x-4\right)=0 \\ (x-4)(x-2)=0 \end{gathered}[/tex]Therefore the value of x is calculated as,
[tex]\begin{gathered} x-4=0\text{ and x-2 = 0} \\ x\text{ = 4 and x = 2} \end{gathered}[/tex]Thus the solution of the given equations are 2 and 4.