The cost of the first gym is given by the following equation:

The cost of the second equation is given by:

Where "x" is the number of elapsed months. To find an equation that determine after how many months the cost will be the same on both academies we need to make "cost1" equal to "cost2".

The cost for the academies will be the same after 10 months.