step 1
Find the equation of the graph
Find the slope
take the points
(-2,0) and (0,4)
m=(4-0)/(0+2)
m-4/2
m=2
step 2
Find the equation of the line in point slope form
point (-2,0) and m=2 ------> y-0=2(x+2)
point (0,4) and m=2 ------> y-4=2(x-0)
Find the equation in slope intercept form
y=mx+b
we have
m=2
b=4 (given)
y=2x+4
therefore