Slope intercept-form equation:
y=mx+b
Where:
m= slope
b= y-intercept
by looking at the graph we can see that the line crosses the origin (0,0), so it crosses the y-axis at x=0.
b=0
For the slope:
[tex]m=\frac{y2-y1}{x2-x1}[/tex]point 1= (x1,y1)= (-2,-4)
Point2= (x2,y2)= (4,8)
Replacing:
[tex]m=\frac{8-(-4)}{4-(-2)}=\frac{12}{6}=2[/tex]So the final expression:
y= 2x