Quiz_1

Given a polyline and offset distances (in this case, {10, 5, -7, -10, -15}) as inputs, devise a method to generate a new polyline with each edge offset by the specified distance.
Find a way to generate a new polyline with each edge offset by different distances, with base polyline and offset distances(in this case, {10, 5, -7, -10, -15}) given as inputs.