we can use the distance formula and midpoint fomula to create a line segment containing points in the cartesian plane. In this case, of the midpoint is (0,0) as a basis, the line segment contain (-2,0) and (2,0) while the other segment has ends (0,-6) and (0,6).