Summer is planning to take aerobics classes at a gym. At Gym A she will pay $12 per class no membership fee. At Gym B she will have to pay $6 per class and a $24 membership fee How many classes would Summer need to take for the costs of both plans to be the same