The slope-intercept form is
[tex]y=mx+b[/tex]m is the slope
b is the y-intercept
The rule of the slope of a line that passes through points (x1, y1) and (x2, y2) is
[tex]m=\frac{y2-y1}{x2-x1}[/tex]From the given graph, the line passes through points (1, -4) and (0, 2)
Let (x1, y1) = (1, -4) and (x2, y2) = (0, 2)
[tex]\begin{gathered} m=\frac{2-(-4)}{0-1} \\ m=\frac{2+4}{-1} \\ m=\frac{6}{-1} \\ m=-6 \end{gathered}[/tex]Substitute the value of m in the form of the equation
[tex]y=-6x+b[/tex]Since the line intersects the y-axis at point (0, 2)
Then the y-intercept is 2
Then b = 2
The equation of the line is
[tex]y=-6x+2[/tex]