Block A of mass 2m is hanging from a vertical mass-less spring of spring constant ′k′ and is at rest. A block B of mass m strikes the given block of mass 2m with velocity ′u′ and sticks to it as shown. The magnitude of the acceleration of blocks just after collision is