In this case we get
The c's cancel and we get
As expected, the center mass is shifted for the middle towards the region of higher density.