A demo for the 2-line intersection formula. Formula from https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection#Given_two_points_on_each_line . If you decide to use this, no need to give credit to me.