The perimeter of a rectangle is 24 cm, and the ratio of length to width is 2:1, what is the width?
一个长方形的周长是24厘米，长与宽的比是2：1，那么宽是多少．
<gadget id="calculator">24 / 2</gadget>
<output>12</output>

<gadget id="calculator">1 + 2</gadget>
<output>3</output>

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">12 * (1/3)</gadget>
<output>4</output>

<result>4</result>