The slope-intercept form is
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
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
![m=(y2-y1)/(x2-x1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/wt3vklmulg2853jxzclws9uvfaplhmpgv7.png)
From the given graph, the line passes through points (1, -4) and (0, 2)
Let (x1, y1) = (1, -4) and (x2, y2) = (0, 2)
![\begin{gathered} m=(2-(-4))/(0-1) \\ m=(2+4)/(-1) \\ m=(6)/(-1) \\ m=-6 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/8ei9joev59vojbivg0xzpt9ijmzrefyj69.png)
Substitute the value of m in the form of the equation
![y=-6x+b](https://img.qammunity.org/2023/formulas/mathematics/college/twvt624crzm8313m4utb0v6fil7w6vfsom.png)
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
![y=-6x+2](https://img.qammunity.org/2023/formulas/mathematics/college/jpmed9w7bmgabupt382fto8kgti1y7eybg.png)