Answer:
y= [tex]\frac{1}{3}[/tex]x-[tex]\frac{2}{3}[/tex]
Step-by-step explanation:
The first step to making an equation of a line is finding the slope. To do this, we can use the point slope formula: [tex]\frac{y_2-y_1}{x_2-x_1}[/tex]
In this case,
y2=1
y1= -2
x2=5
x1= -4
plug this into the formula: [tex]\frac{1-(-2)}{5-(-4)}[/tex], which gives us 3/9, or 1/3 as the slope.
Now we have the equation y=1/3x+b. Let's find b! We can do this by plugging in one of the points into our new equation, let's use (5,1)
1=y, 5=x
1=[tex]\frac{1}{3}[/tex](5)+b
b= -[tex]\frac{2}{3}[/tex]
now, we plug b= -2/3 into our equation, and we finally get y= [tex]\frac{1}{3}[/tex]x-[tex]\frac{2}{3}[/tex]