let the distance of pillar is "r" from one end of the slab
So here net torque must be balance with respect to pillar to be in balanced state
So here we will have

here we know that
mg = 19600 N
Mg = 400,000 N
L = 20 m
from above equation we have



so pillar is at distance 10.098 m from one end of the slab
Answer:
The magintude of the acceleration for both objects is 
Explanation:
Drawing a free body diagram on the two boxes we can analyze the system more easily.
we can take the acceleration going up as positive for reference purposes.
for mA let's suppose that is ascending so:

and for mB (descending):


because the two boxes has the same acceleration because they are attached together:

So the magintude of the acceleration for both objects is 