mass-spring-damper

Hello,

I want to simulate a shocks to the system of mass-spring-damper

with these data:

How to make such a motion simulation?

Thanks for any advice.

SolidworksMotion Studies