please answer the question in the picture below!

Given :-
To find :-
Solution :-
As we can see that the given graph passes through (1,0) and (0,-1) . So the slope of the line will be 1 . Also
[tex]\red{\longrightarrow}[/tex] y intercept = -1 .
On using the slope intercept form of the line ,
[tex]\red{\longrightarrow}[/tex] y = mx + c
[tex]\red{\longrightarrow}[/tex] y = 1(x) + (-1)
[tex]\red{\longrightarrow}[/tex] y = x - 1
or
[tex]\red{\longrightarrow}[/tex] f(x) = x - 1
On substituting x = 2 ,
[tex]\red{\longrightarrow}[/tex] f(2) = 2 - 1
[tex]\red{\longrightarrow}[/tex] f(2) = 1
Hence the required answer is 1.