the position vector of the centre of mass is : (here i ^ and j ^ are unit vector along x and y axes