def surfacearea_cube(l):
  """
  Calculates the surface area of a cube.

  Args:
    l: The length of one side of the cube.

  Returns:
    The total surface area of the cube.
  """
  side_length = l
  area_of_one_face = side_length * side_length
  total_surface_area = 6 * area_of_one_face
  return total_surface_area