Calculate the slope, y-intercept, distance and equation of a line between two points (x1, y1) and (x2, y2).