Answer
Total costs will be equal at each health club after 5 monts.
The total cost will be ${{\$}} 165$ for either club.
Work Step by Step
Let x = months of membership.
The total costs after x months for each club are
$C_{A}=25x+40$
$C_{B}=30x+15$
We want the x for which $C_{A}=C_{B}$
$ 25x+40=30x+15\qquad$ ... add $-40-30x$
$25x-30x=15-40$
$-5x=-25\qquad$ ... divide with (-5)
$x=5$
Calculate $C_{A}$ when x=5:
$C_{A}=25(5)+40=165$
Total costs will be equal at each health club after 5 monts.
The total cost will be ${{\$}} 165$ for either club.