Answer:
3 months
Step-by-step explanation:
Given data
Gym A
$15 joining fee $35 monthly charge
let the number of months be x
and the total charges for x months be y
the expression for the total charges will be given as
y= 15+35x-----------------1
Gym B: No joining fee $40 monthly charge
let the number of months be x
and the total charges for x months be y
the expression for the total charges will be given as
y= 40x-----------------2
Equate 1 and 2
15+35x= 40x
collect like terms
15= 40x-35x
15= 5x
divide both sides by 5
x= 15/5
x= 3
Hence the number of months is 3 months