Respuesta :

The equation of a line is y=mx+b

So m is the slope.

The slope is calculate by rise/run and b is the y intercept.

So in this case -2/2 is -1 for graph one and -20/20 is also -1 so the equation for both graphs are y=-1x+0 or y=-x