6.4 Explanation of Subroutines: Polylines