I've attached a sketch of the box. It is cut open and layed out into the plane.

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