Find the equation of the line passing through the pints of (10, 2) and (2, -2)

To find the equation of a line that passes through the points;
(10, 2) and (2, -2)
we will use the formula;
[tex]y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]From the question;
x₁ = 10 y₁=2 x₂ = 2 y₂ = -2
substiuting the above values into the formula;
[tex]y-2\text{ =}\frac{-2-2}{2-10}(x-10)[/tex]Then we will go ahead and simplifies
[tex]y\text{ - 2 =}\frac{-4}{-8}(x\text{ -10)}[/tex][tex]y\text{ - 2= }\frac{1}{2}(x-10)[/tex]