code: def polygon_under_graph(x, y):
      """
      Construct the vertex list which defines the polygon filling the space under
      the (x, y) line graph. This assumes x is in ascending order.
      """
      return [(x[0], 0.0), *zip(x, y), (x[-1], 0.0)]
  
imports: import math
  import matplotlib.pyplot
  import numpy
  from matplotlib.collections import PolyCollection
label_desc: Use image node_id 1 for calling a global function with example usage: polygon_under_graph(x, y) and returns: list