Trace path of the centre mass

How can I represent the X and Y trace path of the centre of mass of an assembly. 
Do the same but with the centre of mass.


Edu ​​​​​​​