hello
to find the number of months he was a member, let's subtract $30 from the total sum and proceed to divide by $56.00
[tex]\begin{gathered} total\text{ charge of gym = total fees - one time fee} \\ \text{total charge of gym = 534 - 56} \\ \text{total charge of gym = 478} \end{gathered}[/tex]now we can proceed to divide the total charge of gym by the charge per month
[tex]\begin{gathered} \text{number of months =}\frac{total\text{ charge}}{monthly\text{ charge}} \\ \text{number of months =}\frac{478}{56} \\ \text{number of months = 8.53 months} \end{gathered}[/tex]he was a member for approximately 9 months