Use the graph to write a linear function that relates y to x

Answer:
We chose 2 points, one of the earlier ones, and one of the latest.
(-2,6), (0,-2)
slope=delta y/ delta x
delta y = -2-6=-8
delta x = 0-(-2)=2
slope= -8/2=-4
y=mx+b
y=-2
x=0
m=-4
solve for b
-2=-4×0+b
therefore
b=-2
so the linear function is:
y=-4x-2