<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _add_line_segment(self, x, y):
 """Add a |_LineSegment| operation to the drawing sequence."""

        self._drawing_operations.append(_LineSegment.new(self, x, y))