Respuesta :

ANSWER:

[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ b=y_1-m\cdot x_1 \end{gathered}[/tex]

STEP-BY-STEP EXPLANATION:

To calculate the slope of a line, we must have two coordinates or two points that cross this line.

The points would be:

[tex]\begin{gathered} A(x_1,y_1) \\ B(x_2,y_2) \end{gathered}[/tex]

Then, we calculate the slope with the following formula:

[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]

Now, the value of b is calculated using the slope and a point, since point A or point B, like this:

[tex]\begin{gathered} y_1=m\cdot x_1+b \\ b=y_1-m\cdot x_1 \end{gathered}[/tex]