There are

female teachers, and

male teachers.
This means that, out of a total of 75 teachers, 45 are female, leading to a probability of

of selecting a female teacher.
If we restrict to those with more than 8 years service, there are 13 female teachers and 7 male teachers.
So, out of a total of 21 teachers, there are 13 female teachers, leading to a probability of

of selecting a female teacher.