A square and a rectangle are surrounded by two iron wires of the same length. It is known that the side length of the square is 4dm, and the length of the rectangle is 6dm. What is the width of the rectangle in dm?
用两根一样长的铁丝围成一个正方形和一个长方形，已知正方形边长是4dm，长方形长是6dm，这个长方形宽是多少dm？
<gadget id="calculator">4 * 4</gadget>
<output>16</output>

<gadget id="calculator">16 / 2</gadget>
<output>8</output>

<gadget id="calculator">8 - 6</gadget>
<output>2</output>

<result>2</result>