At a local fitness​ center, members pay a ​$10 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?