Answer:

Step-by-step explanation:
By energy conservation we know that spring energy is converted into kinetic energy of the block
so we will have

so we will have

now we will have same thing for another mass 4m which moves out with speed 5v
so we have

now from above two equations we have

so we have
