Use a vector representing a section of a line segment, including the midpoint of a line segment.

u3-t3-s2-d4

Request an applet

Describe what students should see or notice. That's the cue to build — requests are what get built next.