A block of mass m = 0.1 kg is connected to a spring of unknown spring constant k. it is compressed to a distance x from its equilibrium position and released from rest. After approaching half the distance (XW) from equilibrium position, it hits another identical block and comes to rest momentarily, while the other block starts moving with a velocity of 3ms(−1). The total initial energy of the spring is