Respuesta :

We are given the function [tex]g(x)=-x+8[/tex], and we are told to solve for [tex]g(2)[/tex]. Basically, we need to plug in [tex]2[/tex] into all the variable spots in the given expression for [tex]g(x)[/tex]. 
[tex]g(x)=-x+8[/tex]
[tex]g(2)=-(2)+8[/tex]
[tex]g(2)=-6[/tex]
Therefore, the value of [tex]g(x)[/tex] when [tex]x=2[/tex] is [tex]\boxed{6}[/tex]. Hope this helps and have a phenomenal day!