How can I make the animation, in the attachment below, in Solidworks?

I need to figure out out to animate this in Solidworks for a project.

Animation I made in Inventor can be found in the attachments.

Thanks for helping.

SolidworksEducator / Student