Answer:
20 months
Explanation:
Define the variables:
- Let m = number of months
- Let c = total cost (in dollars)
Create an equation for the total costs of renting each apartment:
To calculate how many months it will take for the costs to be the same, substitute the equation for Apartment A into the equation for Apartment B and solve for m:







Therefore, it will take 20 months for the costs to be the same.
Check by substituting m = 20 into both equations:


As the total cost for both apartments is $25,000 after 20 months, this proves that it will take 20 months for the costs to be the same.