Figure 4.
Determining the polygon length and heading for point B.