Answer:
a)
![20m+65=28m+25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4bb74ww6msl71hors4cxvgwr47f9ipk9u9.png)
b) On the 5th month, the gym will have the same total cost of $165
Explanation:
We can write the following expression for Gym A:
![20m+65](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ls2g01lwlv65b2l8zkr28tchh7ervc2wy4.png)
And we can write the following expression for Gym B:
![0.8(35m)+25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/xl70gxns5ffcbmk6hxvbdpmexzcx1fbwvh.png)
This can we rewritten as
![28m+25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/zga9ymrh1dra0qiiegms1l7fv3l7py00tz.png)
In order to find the total costs at which the gyms are the same, we must set them equal to each other, solve for m, and then substitute m into the equation.
![20m+65=28m+25\\\\8m=40\\\\m=5](https://img.qammunity.org/2020/formulas/mathematics/middle-school/cw6nuva6edces71amec31nj9dm4713i12o.png)
Now we can substitute m into each equation
![20m+65=28m[tex]20(5)+65=28(5)+25\\\\100+65=140+25\\165=165](https://img.qammunity.org/2020/formulas/mathematics/middle-school/fqylq2ca3ckaoo5wtrbnq6giikbxokt3ia.png)
On the 5th month, the gym will have the same total cost of $165