
Khalid I. answered 09/01/22
Data Science and Statistics Major at Yale
Let's first find the slope of the line passing between these two points.
m = (y2- y1)/(x2-x1)
m=(4--8)/(5--5)
m=(4+8)/(5+5)
m=12/10 = 6/5
Now that we have a point and a slope, we can use point-slope form to get an equation of the line.
Here is the formula for point slope form:
y-y1=m(x-x1)
I am going to use the point (5,4) as the point as x1=5 and y1=4.
Thus,
y-4 = 6/5(x-5) >>
y-4 = 6/5x -6
y=6/5x -2