We are asked to solve the equation
[tex]\frac{1}{2}(2x-4)+x=8[/tex]Let us expand the left-hand side and we get
[tex]x-2+x=8[/tex]Adding like terms on the left-hand side gives
[tex]2x-2=8[/tex]And adding 2 to both sides get us
[tex]2x=10[/tex]Finally, dividing both sides by 2 gives
[tex]\textcolor{#FF7968}{x=5.}[/tex]which is our answer!