Solution
x 1 2 3 4
y -2 1 4 7
For this case we can find the slope with two points lets select (1,-2) and (2,1) so we have:
[tex]m=\frac{1+2}{2-1}=3[/tex]And we can find the intercept with a point for example (2,1) we have:
[tex]1=3(2)+b[/tex]And then b= 1-6= -5
And the equation would be:
[tex]y=3x-5[/tex]y= 3x-5