Find the equation of the line passing through the points (6,2)(10,6)

Slope-intercept form: y= mx + b (m is the slope, b is the y-intercept or the y value when x = 0 ---> (0, y))
To find the slope, use the slope formula and plug in 2 points:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
(x₁ , y₁) = (5, 2)
(x₂ , y₂) = (10, 6)
[tex]m=\frac{6-2}{10-5} =\frac{4}{5}[/tex]
[tex]y=\frac{4}{5}x+b[/tex] To find b, plug in a point into the equation (5, 2)
[tex]2=\frac{4}{5}(5)+b[/tex]
2 = 4 + b
-2 = b
[tex]y=\frac{4}{5}x -2[/tex]
Answer:
y = 4/5x -2
Step-by-step explanation:
equation of a line passing through two points is given by
y - y₁ = m (x - x₁), where m = (y₂ - y₁) / (x₂ - x₁)
y₂ = 6, y₁ = 2
x₂ = 10, x₁ =5
m = (6-2)/(10-5)
m = 4/5
y - 2 = 4/5 (x - 5)
multiply both sides by 5
5(y -2) = 4(x - 5)
5y -10 = 4x -20
5y = 4x -20 +10
5y = 4x -10
divide through by 5
y =4/5x -2