In the first half of a soccer match, team A scores 4 goals while team B scores 2 goals fewer than team A. In the second half, team A scores 1/4 of the number of goals scored by team B, which scores 4 times the number of goals it scored in the first half. What's the total number of goals scored in the match?
In the first half, team B scores 4 goals - 2 goals = 
<gadget id="calculator">4-2</gadget>
<output>2</output>
2 goals.
The total number of goals scored in the first half is 2 goals + 4 goals = 
<gadget id="calculator">2+4</gadget>
<output>6</output>
6 goals.
During the second half, team B scores 4 goals * 2 = 
<gadget id="calculator">4*2</gadget>
<output>8</output>
8 goals.
Team A 1/4 * 8 goals = 
<gadget id="calculator">1/4*8</gadget>
<output>2</output>
2 goals in the second half.
The total number of goals in the second half is 8 goals + 2 goals = 
<gadget id="calculator">8+2</gadget>
<output>10</output>
10 goals.
The total number of goals in the match is 6 goals + 10 goals = 
<gadget id="calculator">6+10</gadget>
<output>16</output>
16 goals.

<result>16</result>