What is an equation in slope-intercept form for y(-4,-2) and x (5,1)?

y-1 = 3(x-5)

y = 3x-14