Line-Line intersection for y=mx+c