Write an equation of the line (Type your answer in slope-intercept form.)

The equation of the line in the slope-intercept form is:
y = -3x + 6
Explanation:The line passes through the points (0, 6) and (2, 0)
That is x₁ = 0, y₁ = 6, x₂ = 2, y₂ = 0
The slope (m) of the line is calculated below
[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ m=\frac{0-6}{2-0} \\ m=-\frac{6}{2} \\ m=-3 \end{gathered}[/tex]From the graph shown:
The y-intercept, c = 6
The slope-intercept form of the equation of a line is:
y = mx + c
Substitute m = -3 and c = 6 into the equation above
y = -3x + 6
The equation of the line in the slope-intercept form is:
y = -3x + 6