The perimeter of a rectangle is twice the perimeter of a square. It is known that the length of the rectangle is 24 cm and the width is 16 cm. What is the area of the square in square centimeters?
一个长方形周长是一个正方形周长的两倍，已知长方形长24厘米，宽16厘米，那么正方形面积为多少平方厘米．
<gadget id="calculator">24 + 16</gadget>
<output>40</output>

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

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

<gadget id="calculator">40 * 40</gadget>
<output>1_600</output>

<result>1_600</result>