Center of mass or barycenter (2 bodies):

is distance of center from along line between bodies

is distance between bodies

is masses

Center of mass or barycenter (n>2 bodies):

(Sum of product of all masses and their associated positions)

Mechanical Equilibrium

Must equal zero to maintain linear state

about any point must equal zero to maintain rotational state

If you put the point you are calculating at one of the forces, there's less algebra