To find an equation for the total number of students, \( s \), in LaShawn's math class, we can start with the information given.
LaShawn initially had 71 tokens and gave 3 tokens to each student in her class. After giving tokens away, she has 5 tokens remaining.
We can set up the equation based on this logic:
1. She gave away \( 3s \) tokens (where \( s \) is the number of students).
2. After giving away these tokens, she has 5 remaining.
So, the equation will be:
\[
71 - 3s = 5
\]
Next, we will solve the equation for \( s \):
1. Subtract 5 from both sides:
\[
71 - 5 = 3s
\]
\[
66 = 3s
\]
2. Divide both sides by 3:
\[
s = \frac{66}{3}
\]
\[
s = 22
\]
Thus, the number of students in LaShawn's math class is **22 students**.