A rectangle and a square have the same perimeter. Given that the side length of the square is 9 cm and the length of the rectangle is 12 cm, how many times is the length of the rectangle equal to the width?
一个长方形和正方形的周长相等，已知正方形的边长是9厘米，长方形的长是12厘米，长方形的长是宽的多少倍？
<gadget id="calculator">4 / 2</gadget>
<output>2</output>

<gadget id="calculator">9 * 2</gadget>
<output>18</output>

<gadget id="calculator">18 - 12</gadget>
<output>6</output>

<gadget id="calculator">12 / 6</gadget>
<output>2</output>

<result>2</result>