Final answer:
To find the number of months it will take for the total amount of money paid to both gyms to be the same, set up an equation and solve for x. After 17 months, the total amount paid to both gyms will be $870.
Step-by-step explanation:
To find the number of months it will take for the total amount of money paid to both gyms to be the same, we need to set up an equation and solve for x. Let x represent the number of months.
For Community Gym, the total cost after x months is: 40 (membership fee) + 50x (monthly fee).
For Workout Gym, the total cost after x months is: 210 (membership fee) + 40x (monthly fee).
Setting up the equation:
40 + 50x = 210 + 40x
10x = 170
x = 17
After 17 months, the total amount of money paid to both gyms will be the same, which is $870.