A square and a rectangle have the same perimeter. The length of the rectangle is 8 cm and the width is 4 cm. What is the area of the square in square centimeters?
一个正方形和一个长方形的周长相等．长方形的长是8厘米，宽是4厘米．求正方形的面积是多少平方厘米？
<gadget id="calculator">8 + 4</gadget>
<output>12</output>

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

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

<gadget id="calculator">6 * 6</gadget>
<output>36</output>

<result>36</result>