def get_linear_intersection(m1,c1,m2,c2):
    """gets the intersection of 2 straight lines described by y=mx+c"""    
    
    x_intersect = (c1-c2)/(m2-m1)
    y_intersect = x_intersect*m1+c1
    
    return x_intersect, y_intersect