A right-angled trapezoid has an upper base of 2 cm and a waist length of 10 cm. If the upper base is increased by 6 cm, it becomes a square. What is the perimeter of the trapezoid in cm?
一个直角梯形，上底2厘米，一腰长10厘米，如果把它的上底增加6厘米，就变成一个正方形，这个梯形的周长是多少厘米？
<gadget id="calculator">2 + 6</gadget>
<output>8</output>

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

<gadget id="calculator">2 + 16 + 10</gadget>
<output>28</output>

<result>28</result>