A block C of mass m is moving with velocity v0 and collides elastically with block A of mass m which is connected to another block B of mass 2m through a spring of spring constant k. What is k if x0 is the compression of spring when velocity of A and B is same?