Trying to animate a component with two moving parts

See this for an example:

Also this: