To do it with a straightedge, create two points on the line. Then, extend your compass while placing it on a point to a little more than halfway between the segment. Draw an arc and repeat on the other side. Make sure the arcs intersect, and mark the points of intersection. Draw a line through those.