```python
def surfacearea_cuboid(l,w,h):
  """
  Calculates the 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 surface area of the cuboid.
  """
  return 2 * (l * w + l * h + w * h)
```