Answer:
y= 4x -2
y= x + 4
Step-by-step explanation:
To find equation for Data set A and B , pick any two points from the table
(-1,-6) and (1,2)
To find equation use y=mx+b
where m is the slope and b is the y intercept
[tex]m= \frac{y_2-y_1}{x_2-x_1} = \frac{2+6}{1+1} = 4[/tex]
Use point slope formula, use (1,2)
y-y1=m(x-x1)
y - 2= 4(x-1)
y-2= 4x-4 (add 2 on both sides)
y= 4x -2
(-2,2) and (0,4)
To find equation use y=mx+b
where m is the slope and b is the y intercept
[tex]m= \frac{y_2-y_1}{x_2-x_1} = \frac{4-2}{0+2} = 1[/tex]
Use point slope formula, use (0,4)
y-y1=m(x-x1)
y - 4= 1(x-0)
y - 4=x (add 4 on both sides)
y= x + 4