You see from the graph that when x = 0, y = 2 so the y-intercept is ( 0 , 2).
you are given points (-5 , 6) and (5 , -2). Find slope:
slope = change in y / change in x
slope = (6 - (-2)) / (-5 - 5)
slope = (6 +2) / (-5 - 5)
slope = 8/-10
slope = -4/5
slope-intercept form: y = mx + b where m = slope and b = y intercept.
y = -4/5x + 2