Let x be the number of weeks; therefore, the two linear equations are
[tex]\begin{gathered} T=2+7x \\ \text{and} \\ C=11+4x \end{gathered}[/tex]Where T stands for the punches on the tea punch card and C for the punches on the coffee punch card.
Solving by substitution. Set T=C, then
[tex]\begin{gathered} T=C \\ \Rightarrow2+7x=11+4x \\ \Rightarrow3x=9 \\ \Rightarrow x=\frac{9}{3}=3 \\ \Rightarrow x=3 \end{gathered}[/tex]Thus, substitute the value of x=3 into the first equation,
[tex]\begin{gathered} x=3 \\ \Rightarrow T=2+7\cdot3=23 \\ \Rightarrow T=23 \end{gathered}[/tex]Thus, after 3 weeks, Josiah will have the same number of punches on each card, and he will have 23 punches on each card.