Line Intersecting Formula