Attached is the picture of a dumbbell. I do not understand how the coordinate of M1 is
M2 R/ (M1 + M2)
It is not an assignment question but an example from a book.
because CM=0, I get M1 R1 = -R2 M2
which further gives me
R1= RM2 / (M2-M1)