Answer:
The answer to your question is a) 2 months; b) $42.
Step-by-step explanation:
Data
Club A Â Â Â Â Â Â Â Â Â Â Â Â Â Club B
membership = $18 Â Â Â Â membership = $16
fee  = $12            fee = $13
Total cost = y
months = x
Process
1.- Write equations to solve this problem
Club A Â Â Â y = $12x + 18
Club B Â Â Â y = $13x + 16
2.- Solve the system of equations by equality
         12x + 18 = 13x + 16
         12x - 13x = 16 - 18
             - x = -2
              x = 2
3.- Conclusion
After 2 months, the cost of both clubs will be the same.
4.- Total cost
Club A Â Â Â Â Â y = 12(2) + 18
           y = 24 + 18
           y = $ 42     Â
Club B Â Â Â Â Â y = $13(2) + 16
           y = 26 + 16
           y = $42
The total cost will be $42.