Total number of students = 1020 + 1180 = 2200
Probability = Number of Favorable cases/Total number of students
We can probability of female student is being selected. Favorable cases would be the total number of females.
P(female is selected) = 1180/2200
I hope this helps.