The situation is as shown in the figure
apply momet of force about point A then we get ( take torque is positive along counter clockwise)
Fa*(0) - Mg*(AB) - m*g(AC) + Fb*AD = 0
Mg*(L/2) + mg(d) = Fb*L
then we get the force Fb = ---------- N
Since the system is in equalibrium then we get
ΣFy = 0
Fa - Mg - m*g + Fb = 0
Fa = W + Wp - Fb
= ------------- N
where Fa and Fb are the tentions in the two strings