Welcome to the ODK forum, @A3pn_Haiti! We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a picture as your avatar because it helps build community!
A similar issue is discussed here:
Maybe it will help with understanding the repeat group behavior?
Are you only collecting gender and occupation for up to 10 people? It's not elegant but you could create a group of questions for each select_multiple option and use relevant on each one to show/remove as needed.
Are you planning on replacing the "person 1, person 2, ..." with some other text? If not, can you change it to an integer question asking "how many household members are available?" and then do they repeat group # based on that?