Slope intercept form of the line is
y=mx +b.
m is a slope.
m=(y2 -y1)/(x2 - x1)=(2-(-4))/(0-(-4))=6/4=3/2
m=3/2
y=(3/2)x + b
To find y-intercept, we are going to use point (0,2) and equation y=(3/2)x + b.
2=(3/2)*0 + b,
b = 2.
Actually point (0,2) already is a y-intercept, because it has x=0.
Answer is y=(3/2)x + 2.