Respuesta :
Here we have two points given which are
p1 (0,2) and p2(-5,-1) .
Since in p1, when x=0, y=2, so the y intercept, b is 2 .
Now we need to find the slope and for that we use the slope intercept form, which is
[tex] m = \frac{y_{2}-y_{1}}{x_{2}-x_{1}} [/tex]
[tex] m = {-1-2}{-5-0} = \frac{-3}{-5} = \frac{3}{5} [/tex]
So we have slope, m =3/5 and y intercept, b =2
Now we use the slope intercept form which is y =mx+b and substitute the values of m and b. And on doing so , we will get
[tex] y = \frac{3}{5}x +2 [/tex]
we have given a line [tex] P_{1} P_{2} [/tex]
we need to find the equation of line we need find slope of line
m=[tex] (y2-y1)/(x2-x1) [/tex]
we know that x1=0 x2=-5 y1=2 and y2=-1
[tex] m=-1-(-2)/(-5-0)=-1/5
[/tex]
we know that equation of straight line is y=mx+b
.we need to choose any of our points.
we are taking (0,2) because it doesnt have any negative.
equation of line with one point form
y-y1=m(x-x1)
y-2=-1/5(x-0)
y=-1/5x+2 which is the required equation of line.