solve {d = m1 * c + b1, d = m2 * c + b2} for {m1, m2, b1, b2}