A uniform rod of mass 2 kg is hanging from a thread attached at the midpoint (O) of the rod. A block of mass m=6 kg hangs at the left end of the rod and a block of mass M hangs at the right end at a distance of 30 cm from the mid point (O). If the system is in equilibrium, calculate the mass (M), given that overall length of the rod is 100 cm. Take g=10 m/s2.