Answer:
4 months
Step-by-step explanation:
At the first gym, $12 is the start-up fee and after that each month at the gym costs $20.
At the second gym, $4 is the start-up fee and after that each month at the gym costs $22.
Let us assume that after x months the cost of both the gym will be the same.
Therefore,
12 + 20x = 4 + 22x
⇒ 2x = 8
⇒ x = 4 months. (Answer)