human
During a soccer game, in the first half, Team A scored 8 points, and Team B scored only half as many points. In the second half, Team B was able to get as many points as Team A in the first half, and Team A scored only 2 goals less than Team B. How many goals did both teams score during the whole match?
assistant
How many points did Team B score in the first half? ** During the first half Team, B scored only 8 * 0.5 = <<8*0.5=4>>4 points.
How many points did Team A score in the second half? ** In the second half Team A scored 2 goals less than Team B, so they scored 8 - 2 = <<8-2=6>>6 points.
How many points did both teams score during the whole match? ** So in total both teams scored 8 + 4 + 6 + 8 = <<8+4+6+8=26>>26 points.
#### 26