code: def random_polygon(distance_from_origin):
      outer = Point(distance_from_origin * 2, 0).buffer(1)
      inners = []
      for i in range(np.random.randint(1, 4)):
          inner = Point(distance_from_origin + i * 0.1, 0).buffer(0.01)
          inners.append(inner)
      together = Polygon(outer, inners)
      result = rotate(
          together, np.random.random() * 2 * np.pi, use_radians=True
      )
      return result
  
imports: from enum import Enum
  from numbers import Integral
  import cupy
  import geopandas
  import numpy
  import pandas
  import pytest
  from geopandas.testing import assert_geoseries_equal
  from shapely.affinity import rotate
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import cudf
  from cudf.testing import assert_series_equal
  import cuspatial
label_desc: Use image node_id 1 for calling a global function with example usage: random_polygon(distance_from_origin) and returns: result