Answer:
y=mx+b
The slope of a linear function can be calculated by dividing the difference between y-values by the difference in corresponding x-values of any two points on the line. The slope and initial value can be determined given a graph or any two points on the line.
For example if you want to use the points from the line (-2,4) (7,-8) from the graph given to you you use the equation: m=(y2-y1)/(x2-x1) substitute the values: m= -8-4 / 7-(-2) = -1.3333
So the slope equals -1.3
The equation of the line is y = -1.3x + 2
I hope this helps.