At a local fitness​ center, members pay a ​$6 membership fee and ​$5 for each aerobics class. Nonmembers pay ​$6 for each aerobics class. For what number of aerobics classes will the cost for members and nonmembers be the​ same?

Let's say the number of aerobics classes is x.

For members, the cost would be 6 (membership fee) + 5x (cost for each aerobics class).

For nonmembers, the cost would be 6x (cost for each aerobics class).

To find the number of aerobics classes where the cost is the same for members and nonmembers, we need to find the value of x that satisfies the equation:

6 + 5x = 6x

Subtracting 5x from both sides:

6 = x

So, the cost will be the same for members and nonmembers when the number of aerobics classes is 6.