We have two different gym plans here.
Plan A.
Pay $80 for a monthly pass and $5 for each visit.
[tex]80+5x[/tex]Where x represents visits.
Plan B.
Pay $15 for each visit without a monthly pass.
[tex]15x[/tex]Now, we make these equations equal to find the number of visits x
[tex]\begin{gathered} 80+5x=15x \\ 80=15x-5x \\ 10x=80 \\ x=\frac{80}{10} \\ x=8 \end{gathered}[/tex]