Equal letters indicate the same vertex that means are labels of the same vertex B.
The black lines are the actual ribbon around the box. The black lines have the same length as the red one.
The length of the red line is calculated by:
Therefore the total length is 150