Write an equation for the line (4,7) and ( 1,1)2. Write an equation for the graph

ANSWER:
[tex]y=2x-1[/tex]STEP-BY-STEP EXPLANATION:
We have that the equation in its slope-intercept form is the following:
[tex]\begin{gathered} y=mx+b \\ m\text{ is the slope and b is the y-intercept } \end{gathered}[/tex]The slope can be calculated as follows:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]We use the points (4,7) and (1,1) to calculate the slope:
[tex]m=\frac{1-7}{1-4}=\frac{-6}{-3}=2[/tex]Now, we calculate the value of b, using the point (1,1) and the slope, like this:
[tex]\begin{gathered} 1=1\cdot2+b \\ b=-2+1 \\ b=-1 \end{gathered}[/tex]Therefore, the equation would be:
[tex]y=2x-1[/tex]