To model the total number of students \( t \) in Ms. Garcia's class based on the information given, we know that two-thirds of the class equals 8 students. We can represent this relationship with the equation:
\[ \frac{2}{3} t = 8 \]
Now, to find the total number of students \( t \), we can solve this equation. First, we can multiply both sides by \( \frac{3}{2} \) to isolate \( t \):
\[ t = 8 \times \frac{3}{2} \]
Calculating the right side:
\[ t = 8 \times 1.5 = 12 \]
Thus, the total number of students in Ms. Garcia's class is \( t = 12 \).