Given that the perimeter of a rectangle is 24 cm and the ratio of length to width is 1:2, what is the area of the rectangle in square centimeters?
已知长方形的周长是24厘米，长与宽的比是1：2，那么长方形的面积是多少平方厘米．
<gadget id="calculator">1 + 2</gadget>
<output>3</output>

<gadget id="calculator">24 / 2 / 3</gadget>
<output>4</output>

<gadget id="calculator">2 * 4 * 1 * 4 * 1</gadget>
<output>32</output>

<result>32</result>