Explanation:
a slope-intercept form :
y = ax + b
"a" is the slope, "b" is the y-intercept (the y-value when x = 0).
the slope is the ratio (y coordinate change / x coordinate change) when moving from on point on the line to another.
"b" we can read off the graph : when x = 0, then y = -5.
so, b = -5.
for the slope let's pick 2 points. your teacher has kindly marked already points with integer coordinates.
so, I pick (3, 1) and (4, 3).
x changes by +1 (from 3 to 4).
y changes by +2 (from 1 to 3).
so, the slope is
+2/+1 = 2/1 = 2
the equation is
y = 2x - 5