Answer:
![x' = 10 x](https://img.qammunity.org/2020/formulas/physics/high-school/er1uvua5ki49lld8mxje6y53gkx2earh2b.png)
Step-by-step explanation:
By energy conservation we know that spring energy is converted into kinetic energy of the block
so we will have
![(1)/(2)kx^2 = (1)/(2)mv^2](https://img.qammunity.org/2020/formulas/physics/middle-school/t553pnaua6hrqh84af22gka8o60vz1a2rr.png)
so we will have
![v = \sqrt{(k)/(m)}(x)](https://img.qammunity.org/2020/formulas/physics/high-school/xjthw2ddyntewkr77eivpke16plf0mqfbd.png)
now we will have same thing for another mass 4m which moves out with speed 5v
so we have
![5v = \sqrt{(k)/(4m)}(x')](https://img.qammunity.org/2020/formulas/physics/high-school/b38q0brax9tsrwv4jburai82m1swrz783o.png)
now from above two equations we have
![(5v)/(v) = (x')/(2x)](https://img.qammunity.org/2020/formulas/physics/high-school/vdz07ys9b6ahavt6fbpxjv7z8nrzvl3xeb.png)
so we have
![x' = 10 x](https://img.qammunity.org/2020/formulas/physics/high-school/er1uvua5ki49lld8mxje6y53gkx2earh2b.png)