Answer
given,
two box of masses = M_a = 11 kg
M_b = 31 Kg
If A and B are 5.0 and 1.5 m, respectively, above the ground.
h = 5 - 1.5 = 3.5 m
a) , b) using energy conservation


velocity of the lighter and heavier box

v = 8.29 m/s
c ) ratio of kinetic energy


ratio = 2.82