Let:
Cj = cost of Jumping Jack Jym
Cg = cost of Ginger's Gym
Cj = 50 + 25x
Where:
x = Number of months
Cg = 35x
We need to know when the two gyms will be equal in price, so:
[tex]\begin{gathered} Cj=Cg \\ 50+25x=35x \\ or \\ 25x+50=35x \end{gathered}[/tex]