How to animate in solid work of throwing ball

problem in motion of throwing ball from spring