The y intercept (when x=0) is 40
the slope is 15 ( slope= rise/run= 15/1=15)
therefore, the equation of the line is y=15x+40
The gradient function is
y1-y2/x1-x2
So the gradient of this line is
2-0/0-(-5)= 2/5
Recall that the linear line function is
y=mx +c ,
m is the gradient while c is the y-intercept
So, the equation of this line is
y= 2/5x + 2