A dep #people = 2/3 + A male = 1/2 males + company male = 2/5
--> A male 1/5 of total people & A female 7/15 of total people
--> B male 1/5 of total people & B female 2/15 of total people
Guess you can calculate female fraction of dep B solely using condition 1