Can u help how to create a block and animate the mechanisum?

i am trying to create a block and animate it but i am not able to slove it can u help me out in this regard

SolidworksMotion Studies