Bir sınıftaki kız öğrenci sayısı \( 2b+5 \), erkek öğrenci sayısı \( 3b-2 \)'dir. Sınıf mevcudu 40 olduğuna göre, \( b \) kaçtır?