https://thishomeschool.com/2017/04/17/bisect-a-segment/
Bisect a Segment