Answer:
From the figure,
The free-body diagrams for and are shown in the figures below. The only forces on the blocks are the upward tension and the downward gravitational forces and . Applying Newton’s second law, we obtain:
which can be solved to yield
Substituting the result back, we have
(a) With and , the acceleration becomes
(b) Similarly, the tension in the cord is