To solve this problem it is necessary to apply the conservation equations of the moment for an inelastic impact or collision. In turn, it is necessary to apply the equations related to the conservation of potential energy and kinetic energy.
Mathematically this definition can be expressed as
![m_1v_1+m_2v_2=(m_1+m_2)v_f](https://img.qammunity.org/2020/formulas/physics/college/c31ro79ysala715t6pzme0s39fxaeg76dd.png)
Where,
Initial velocity of each object
Mass of each object
Final velocity
Our values are given as
![m_1 = 0.25kg\\m_2 = 0.5kg\\v_1 = 1.2m/s\\v_2 = 0m/s](https://img.qammunity.org/2020/formulas/physics/college/a1w2esghj3zyvnnc4i4uk30nrigmoighrt.png)
Replacing we can find the value of the final velocity, that is
![0.750v_f = 0.25*1.20+0.5*0](https://img.qammunity.org/2020/formulas/physics/college/b7bwas3ntynjhod7xwzs7gk4owasrton4a.png)
![v_f = 0.4m/s](https://img.qammunity.org/2020/formulas/physics/college/7nrfnuksouyjb7wr015fdfsus1fmfz4mpa.png)
From the definition of the equations of simple harmonic motion the potential energy of compression and equilibrium must be subject to
![KE_(compressed)+PE_(compressed) =KE_(equilibrium) +PE_(equilibrium)](https://img.qammunity.org/2020/formulas/physics/college/euz8dzzi8wxi9lltvbcc2khqqu6tgq58rl.png)
Since there is no kinetic energy due to the zero speed in compression, nor potential energy at the time of equilibrium at the end, we will have to
![0+(1)/(2)KA^2 = (1)/(2)(m_1+m_2)v_f^2+0](https://img.qammunity.org/2020/formulas/physics/college/995xq01a5lhwwg9z3jh7w9d22ikkg4cbye.png)
Re-arrange to find A
![A = \sqrt{(m_1+m_2)/(k)v_f}](https://img.qammunity.org/2020/formulas/physics/college/it9flqpafhofzchpxgmhmc1x6d0qrpz5xl.png)
![A = \sqrt{(0.25+0.5)/(10)(0.4)}](https://img.qammunity.org/2020/formulas/physics/college/w4pycy6j4fydzgx5f78f1f4pr8jjnql7c3.png)
![A = 0.11m](https://img.qammunity.org/2020/formulas/physics/college/m6ndxjyc160eso8ogmrqngvrcpmkg70s77.png)
Finally, the period can be calculated through the relationship between the spring constant and the total mass, that is,
![T = 2\pi \sqrt{(m_1+m_2)/(k)}](https://img.qammunity.org/2020/formulas/physics/college/3rdap0zuh4mfz45q140v3sr61w95ihle2v.png)
![T = 2\pi \sqrt{(0.5+0.25)/(10)}](https://img.qammunity.org/2020/formulas/physics/college/cxfiro710k17k996nij1eu0xgc5zrtptyx.png)
![T = 1.7s](https://img.qammunity.org/2020/formulas/physics/college/uk9y9mc3jgk4x2u029xx9vbz9yzza8l5c6.png)