If two-thirds of the class own a pet and that corresponds to 8 students, we can set up the equation based on that information.
Let \( t \) represent the total number of students in the class. The relationship can be expressed as:
\[ \frac{2}{3} t = 8 \]
To find the total number of students \( t \), we can solve this equation by multiplying both sides by \(\frac{3}{2}\):
\[ t = 8 \times \frac{3}{2} \]
Calculating the right side gives:
\[ t = 12 \]
So, the complete equation that models the total number of students, \( t \), is:
\[ t = 12 \]