intersection of lines
input
a
1
b
1
c
1
a
2
b
2
c
2
decimals
intersection
graph
reset
output
intersection: x
intersection: y