If the lines represented by ax2+2hxy+by2+2gx+2fy+c=0 are written in the form y=m1x+c1 and y=m2x+c2, then
m1+m2=a/b, m1m2=2h/b
m1+m2=−2h/b, m1m2=a/b
m1+m2=−2h/b, m1m2=−b/a
m1+m2=2h/b, m1m2=a/b
m1+m2=−2h/b,m1m2=a/b