The slope is -2/5 and y-intercept is -10
How to calculate the slope and y-intercept of an equation
Let's take points (-10, -6) and (10, -14) and using the slope-intercept form:
y = mx + b
Where
m is slope
b is y-intercept
calculate the slope m using the form
m = y₂ - y₁/x₂ - x₁
= (-14-(-6))/10-(-10)
= (-14+6)/(10+10)
= (-8)/(20)
= -2/5
Equation of the line is given by
y-y₁ = m(x-x₁)
Substitute the coordinates (-10, -6)
y -(-6) = -2/5(x-(-10))
y+6 = -2/5(x+10)
y +6 = -2x/5 -4
y = -2x/5 -10
Comparing the equation to general equation of line
slope = -2/5
y-intercept = -10