The foundation here refers to teaching skills and methods. Teaching methods such as mirror demonstration rules and aerobics pyramid are reasonably applied to other courses.
10 years of teaching experience tells me that as long as you have enough experience, no matter what you teach, you can fully mobilize the enthusiasm of members and control the intensity of exercise.
So take aerobics first, and you will naturally know how to exercise.