Body A of mass 4m moving with speed u collides with another body B of mass 2m