Greetings from Brasil...
The expression that allows to calculate the average would be:
where A, B, C, D and E are the pharmacists....
A and B = work 35
C and D = works 40
E = ??
average = M = 40
M = (A + B + C + D + E )/5
40 = (35 + 35 + 40 + 40 + E)/5
200 = 150 + E
E = 200 - 150
So, pharmacists E works 50h/week