In the arrangement as shown, mB = 3 m, density of liquid is ρ and density of block B is 2ρ. The system is released from rest so that block B moves up when in liquid and moves down when out of liquid with the same acceleration. Find the mass of block A.

