It’s either snow or rain if it’s a riddle sort of.
Answer:
3.258 m/s
Explanation:
k = Spring constant = 263 N/m (Assumed, as it is not given)
x = Displacement of spring = 0.7 m (Assumed, as it is not given)
= Coefficient of friction = 0.4
Energy stored in spring is given by

As the energy in the system is conserved we have

The speed of the 8 kg block just before collision is 3.258 m/s