hey all,

so, I was practicing some permutation problems and this one came up.

'A company is trying to fill some vacancies. four of five accountants will be selected and two of four lawyers will be selected. how many different ways can they be selected?'

I found out both permutations, but then I was stuck on what to do. The answer key said I should multiply them because the different permutations are independent of one another. Is this true? if so, why? and what happens if the permutations are dependent?

thanks for your help!