To find the total number of students, \( s \), in LaShawn's math class, we start with the initial number of tokens she had and how many she gave away, along with her remaining tokens.
LaShawn starts with 71 tokens and gives away 3 tokens to each student in her math class, which is a total of \( 3s \) tokens given away. After giving away tokens, she has 5 tokens left.
So, the equation can be set up as follows:
\[ 71 - 3s = 5 \]
This equation can be used to find the total number of students \( s \) in her math class.