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