Start by findind in how many ways it can be done for each department using combinations in each way
[tex]\begin{gathered} 10C2=45 \\ 9C2=36 \\ 8C2=28 \end{gathered}[/tex]then since there is an addition we must multiply each of those posibilities
[tex]45\cdot36\cdot28=45360[/tex]It can be done in 45360 ways