The length of a rectangle is 16 centimeters, which is twice the width. It is equal to the perimeter of a square. What is the side length of the square in centimeters?
一个长方形的长是16厘米，是宽的2倍，它和一个正方形的周长相等，这个正方形的边长是多少厘米？
<gadget id="calculator">16 / 2</gadget>
<output>8</output>

<gadget id="calculator">16 + 8</gadget>
<output>24</output>

<gadget id="calculator">2 / 4</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">24 * (1/2)</gadget>
<output>12</output>

<result>12</result>