The distance between two points is a line. The equation of the line is y = 3x - 8
Equation of a line
The equation of a line in slope - intercept form is given as;
y = mx + b
where
m is the slope
b is the intercept
Given the following
slope 'm' = 3
Determine the y-intercept
-2= 3(2) + b
-2 = 6 + b
b = -8
Determine the equation
y = 3x + (-8)
y = 3x - 8
Hence the equation of the line is y = 3x - 8
Learn more on equation of a line here; https://brainly.com/question/11602229
#SPJ1