Answer:
[tex]4[/tex]
Step-by-step explanation:
The line passes through points [tex](2,0)\,,\,(0,2)[/tex]
Let [tex](x_1,y_1)=(2,0)\,,\,(x_2,y_2)=(0,2)[/tex]
Equation of a line passing through points [tex](x_1,y_1)\,,\,(x_2,y_2)[/tex] is given by [tex]y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]
[tex]y-0=\frac{2-0}{0-2}(x-2)\\y=\frac{2}{-2}(x-2)\\y=-1(x-2)\\y=-x+2[/tex]
So,
[tex]f(x)=y=-x+2[/tex]
Put [tex]x=-2[/tex]
[tex]f(-2)=-(-2)+2=2+2=4[/tex]