Question

A puck with mass m = 0.18 kg slides along a frictionless horizontal
surface at v = 6.3 m/s . It hits and sticks to the free end of a
spring with k = 18 N/m
1-Find the amplitude of the subsequent simple harmonic
motion.
2-Find the period of the subsequent simple harmonic motion