```python
def lateralsurface_cuboid(l,w,h):
  """
  Calculates the lateral surface area of a cuboid.

  Args:
    l: The length of the cuboid.
    w: The width of the cuboid.
    h: The height of the cuboid.

  Returns:
    The lateral surface area of the cuboid.
  """
  lateral_surface_area = 2 * h * (l + w)
  return lateral_surface_area
```