The number of footballs in the gymnasium of Xingsheng Primary School is three times that of volleyballs. During physical activity class, each class borrows 6 footballs and 5 volleyballs. After the volleyball is borrowed, there are still 72 footballs. How many footballs and volleyballs are there in the gymnasium? Use equations and formulas in two ways.
兴盛小学的体育馆里的足球个数是排球的3倍，在上体育活动课时，每班借6个足球，5个排球．排球借完后，还有足球72只，体育馆内原有足球和排球共有多少个？用方程和算式两种方法．
<gadget id="calculator">3 * 5</gadget>
<output>15</output>

<gadget id="calculator">15 - 6</gadget>
<output>9</output>

<gadget id="calculator">72 / 9</gadget>
<output>8</output>

<gadget id="calculator">6 * 8</gadget>
<output>48</output>

<gadget id="calculator">5 * 8</gadget>
<output>40</output>

<gadget id="calculator">48 + 72 + 40</gadget>
<output>160</output>

<result>160</result>