Recall that to evaluate an expression at a given value, we substitute the variable by the given value.
Therefore, evaluating the given expression at x=-2 we get:
[tex](-2)^2+\frac{8}{-2}-2.[/tex]Simplifying the above result we get:
[tex]\begin{gathered} 4-4-2, \\ -2. \end{gathered}[/tex]Answer:
[tex]-2.[/tex]