Answer:
Answer in attachment
Explanation:
Ok so we have f(x)=-x+2
It can be written as y=-x+2, Keep in mind that the standard form of a line equation is y=mx+c where m is the gradient and c is the y intercept
the slope in our equation is equal to 1
The y-intercept is equal to the point (0,2) ----> value of the function f(x) when the value of x is equal to zero
The x-intercept is equal to the point (2,0)----> value of x when the value of the function is equal to zero
See the attachment for the answer :)
Hope it helps :)