Answer:
The equation of line is [tex]y=-6x-2[/tex]
Step-by-step explanation:
Given:
A line with two points on it are (1, -8) and (-2, 10)
Now, slope of a line passing through two points [tex](x_1,y_1)\ and\ (x_2,y_2)[/tex] is given as:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
Plug in [tex]x_1=1,x_2=-2,y_1=-8,y_2=10[/tex] in the above and solve for 'm'. This gives,
[tex]m=\frac{10-(-8)}{-2-1}\\\\m=\frac{10+8}{-3}\\\\m=\frac{18}{-3}=-6[/tex]
Now, the equation of a line with slope 'm' and a point on it as [tex](x_1,y_1)[/tex] is given as:
[tex]y-y_1=m(x-x_1)[/tex]
Plug in -6 for 'm',[tex]x_1=1\ and\ y_1=-8[/tex]. This gives,
[tex]y-(-8)=-6(x-1)\\y+8=-6x+6\\y=-6x+6-8\\y=-6x-2[/tex]
Therefore, the equation of a line passing through the given points (1, -8) and (-2, 10) is [tex]y=-6x-2[/tex]