Step-by-step explanation:
We are given the co-ordinates,
x : -2, -1, 0, 1, 2
y : 8, 5, 2, -1, -4
According to the graph, we see that this function represents a straight line.
The general form of the straight line is y = mx + c, where m is the slope and c is the y-intercept.
So, taking any two points we will find the equation of the straight line.
Consider, (0,2) and (1, -1). Now, slope is given by,
m = [tex]\frac{-1-2}{1-0}[/tex]
i.e. m = -3
Now, we will find the y-intercept of this equation using (0,2) and m = -3,
i.e. y = -3x + c
i.e. 2 = c
Hence, the equation of the straight line is y = -3x + 2.