In a geometric figure, a hexagon is defined as a polygon with six sides. If each side of a regular hexagon measures 5 cm, what is the total length of all the sides of the hexagon?
Recall that the perimeter of a polygon is calculated by adding the lengths of all its sides. For a regular hexagon, all sides are equal in length.