<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def linestring_to_utm(linestring: LineString) -> LineString: """ Given a Shapely LineString in WGS84 coordinates, convert it to the appropriate UTM coordinates. If ``inverse``, then do the inverse. """

    proj = lambda x, y: utm.from_latlon(y, x)[:2]
    return transform(proj, linestring)