There are 8 guys at the gym because what I did was I used process of elimination to get the answer because if you divide 24 by 3 you get 8 and since there are twice as many females as guys you would have 2x8 so there are 16 females and for the guys you kinda can already know so you do 24-16=8. So there are 8 Guys.