Masking, Stroke effects used as mattes or even some basic linear wipes. either way, the same as your other post: Start learning AE.
1. create a separate copy of your layer for each part that you want to animate independently
2. draw masks such that each of the layers contains just the respective part you want to move.
3. use keyframes on the position of the layers to move them.
I recommend my series of After Effects Beginner Tutorials | mamoworld