Question 147269
That should be right. Your line should be a perpendicular bisector to the segment formed by the two points.
m = (4 - 2) / (-1 - 5) = -1 / 3
Perpendicular slope = 3
w/ point ( (-1 + 5)/2 , (4 + 2)/2 ) or ( 2 , 3 )
y - y1 = m(x - x1)
y - 3 = 3(x - 2)
y - 3 = 3x - 6
y = 3x - 3