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 
The gravitational forces between the Earth and Moon are greatest when the two bodies are closest together. That happens every 27.32 days, when the Moon is at the perigee of its orbit.
Even if this happened at the same time in every orbit, the date would change, because there are not 27.32 days in a month.
But it doesn't happen at the same time in every orbit ... the Moon's perigee precesses around its orbit, on account of the gravitational forces toward the Earth, the Sun, Venus, Mars, and the other planets.
The
sun is a ball of hot gases containing different kinds of elements at different
cores. It has a very high temperature that radiates all throughout the Milky
Way galaxy. The sun has three main parts; photosphere, chromospheres
and corona. The outer core of a star located at the chromospheres contains
mostly of hydrogen. Inside the hydrogen is helium then carbon, oxygen, neon,
magnesium silicon and the inert gas. The photosphere is scattered by the loose electrons in the corona’s plasma.
The layers form from sand dunes