A square has the same area as a triangle. It is known that the side length of the square is 6 cm and the height of the triangle is 4 cm. What is the base of the triangle in cm?
一个正方形与一个三角形面积相等，已知正方形的边长是6厘米，三角形的高是4厘米，这个三角形的底是多少厘米？
<gadget id="calculator">2 / 4</gadget>
<output>1/2 = around 0.5</output>

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

<result>18</result>