Answer:
[tex]y=-3x+2[/tex]
[tex]\boxed{m=-3,\ b=2}[/tex]
Step-by-step explanation:
Equation of a line
To define the equation of a line, we only need two points through which it passes. The graph shows two clear points to choose: (0,2) and (1,-1)
Set up the equation of the line by using the formula
[tex]\displaystyle y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]
[tex]\displaystyle y-2=\frac{-1-2}{1-0}(x-0)[/tex]
Operating
[tex]y-2=-3x[/tex]
Rearranging
[tex]y=-3x+2[/tex]
[tex]\boxed{m=-3,\ b=2}[/tex]