How do you write an equation in slope-intercept form of the line that passes through the given points (2,6) and (-4,-2)?