# MATLAB, 18 bytes

Given that the coordinates are in a `N x 2` matrix `x` and the centres of mass are in a `N x 1` matrix `y`:

    @(x,y)x'*y/sum(y);

(Explanation to follow soon).