Answer:
[tex]y=\frac{1}{2} x+\frac{5}{2}[/tex]
Step-by-step explanation:
First find the slope using the slope using the given points. Remember that the slope is the change in y over the change in x.
[tex]\frac{6-2}{7- (-1)}=\frac{4}{8}=\frac{1}{2}[/tex]
So now we have the equation [tex]y=\frac{1}{2} x+b[/tex], and we need to find out what b is. We can do this by pointing a point (either one, but I'll use -1,2) into the equation
[tex]2=\frac{1}{2}(-1)+b[/tex]
Rearrange the equation so it equals b
[tex]\frac{5}{2}=b[/tex]
Put it together and that's the final equation!
[tex]y=\frac{1}{2} x+\frac{5}{2}[/tex]