A gym has a $4 a month, and a $40 one time initial fee.

Another gym has a $10 a month, and a $15 one time initial fee.
In how many months will they cos the same?

4x+40 = 10x+15