A rectangle and a square have the same perimeter. The length of the rectangle is 16 meters and the width is 8 meters. What is the side length of the square?
一个长方形和一个正方形的周长相等，长方形的长为16米，宽为8米．正方形的边长为多少米？
<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>