You can put this solution on YOUR website! Y=mX+b m=slope & b=y intercept.
(0,5) , (-2,0)
m=(y2-y1)/(x2-x1)
m=(0-5)/(-2-0)=-5/-2=5/2=2.5 for the slope
5=2.5*0+b
5=b is the Y intercept.
y=2.5x+5 is the line equation. (graph 300x200 pixels, x from -6 to 5, y from -10 to 10, 2.5x +5).