A piece of wire was used to make a circle and a square. If the wire was 10 cm longer, it would be enough to make a circle, a square and a triangle as shown below. How long was the wire at first?
cm