def get_line(x0, y0, x1, y1):
    """ Returns m and b of y = mx + b equation for the provided points. """
    m = (y1 - y0) / (x1 - x0)
    b = y0 - m * x0     # y = mx + b -> y - mx = b
    return m, b