Pic 1 or has line that is orange
y=3x+2
Pic 2 or has line that is green
y=-1x+4
Slope intercept form is y=mx+b.
m=slope
b=y-intercept
For pic 1, the point which is intercepted at the y-axis is 2, so the y-intercept is 2.
To find the slope, we take two points, I'm using (-1,-1) and (-2,-4) and divide y2-y1 and x2-x1.
-4-(-1) / -2-(-1)
= -3/-1 = 3
b= 2
m= 3
y=3x+2
For pic 2, the point that is intercepted at the y-axis is (0,4), so the y-intercept is 4.
To find the slope, we take the two points (-2,6) and (-1,5) and divide.
5-6 / -1-(-2)
= -1/1 = -1
b= 4
m= -1
y=-1x+4