The Solution:
Let the number of students in the soccer team be x, and that in the track team be 3x.
There are 8 students in the soccer team. This means that

We are to write an equation to represent the number of students.

Therefore, the correct answer is 3x + x.