The first step to solve the problem is to create a function that relates the number of quizzes he attends by the number of weeks that elapses. Since he alread took one quizz, then the function must start from that and must grow at a rate of 5 quizzes per week. We have:
[tex]\text{quizzes(w)}=5\cdot w+1[/tex]
We want to know how many weeks until he takes 31 quizzes, then we need to make the expression equal to 31 and solve for the value of w. We have:
[tex]\begin{gathered} 5\cdot w+1=31 \\ \end{gathered}[/tex]
Then we subtract both sides by 1.
[tex]\begin{gathered} 5\cdot w+1-1=31-1 \\ 5\cdot w=30 \end{gathered}[/tex]
Then we divide both sides by 5.
[tex]\begin{gathered} \frac{5\cdot w}{5}=\frac{30}{5} \\ w=6 \end{gathered}[/tex]
It'll take 6 weekes before he have taken a total of 31 quizzes.