In order to welcome the new year, the sixth grade students put up a lot of colored lanterns. The students in class 61 tied 30% of the total, class 2 in class 6 tied 40% of the total, class 1 in class 6 less than class 2 in class 6. How many lanterns did these two classes put together?
为了迎接新年，六年级同学扎了很多彩灯．六1班同学扎了总数的30%，六2班扎了总数的40%，六1班比六2班少扎了6盏．这两个班同学一共扎了多少个彩灯？
<gadget id="calculator">40 / 100</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">30 / 100</gadget>
<output>3/10 = around 0.3</output>

<gadget id="calculator">(2/5) - (3/10)</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">6 / (1/10)</gadget>
<output>60</output>

<gadget id="calculator">(2/5) + (3/10)</gadget>
<output>7/10 = around 0.7</output>

<gadget id="calculator">60 * (7/10)</gadget>
<output>42</output>

<result>42</result>