Answer:
Casey would pay the same to be a member of either gym for a number of months equal to 5 and he would pay $250
Explanation:
Let
x ----> the number of months
y ----> the total cost in dollars
we know that
The linear equation in slope intercept form between two variables x and y is equal to

where
m is the slope or unit rate
b is the y-intercept or initial value of the linear equation
In this problem we have
First Gym
The slope or unit rate is equal to

The y-intercept or initial value is
----> joining fee
so
----> equation A
Second Gym
The slope or unit rate is equal to

The y-intercept or initial value is
----> joining fee
so
----> equation B (proportional relationship)
equate equation A and equation B

solve for x



Verify
For x=5
First Gym

Second Gym
therefore
Casey would pay the same to be a member of either gym for a number of months equal to 5 and he would pay $250