Determines if two lines overlap and if so returns the line that coincides with their region of overlap.