Total number of employees =2400
Number of male employees =58×2400=1500
Number of female employees =38×2400=900
Number of males in the HR department =12×1500100=180
Number of females in the HR department =116×180=330
Number of females in the Accounts department =24×900100=216
Number of males in this department =(1500–180–185–630–330)=175
Number of females in the IT department =19×900=100
Number of males =285−100=185
Number of males in the Production department =42×1500100=630
Number of females =10×630100=63
Number of males in the Marketing department
=22×1500100=330
Number of females in the Marketing department =(900–330–216–100–63)=191
Number of females in the HR and the Marketing department =330+191=521