Can someone explain this to me please?

Answer:
a. 3.0 m/s^2
b. 18N
Explanation:
force = mass times acceleration
a.
box 1
24 = 2 times acceleration
24 divided by 2 = acceleration
acceleration = 24 divided by 2
acceleration = 12
box 2
24 = 6 times acceleration
24 divided by 2 = acceleration
acceleration = 24 divided by 6
acceleration = 4
acceleration is averaged
(2+4)/2 = 3
https://courses.lumenlearning.com/suny-osuniversityphysics/chapter/5-5-newtons-third-law/
b.
its saying
in f = ma
if you have the same m of 6
and the a of 3
what is the force?
6 times 3 = 18
18 N