A sonometer wire resonates with a given tuning fork, forming standing waves with five antinodes between the two bridges when a mass of 9 kg is suspended from the wire. When a mass of M kg is suspended from the wire, the same tuning fork causes the wire to form three antinodes for the same positions of the bridges. What is the value of M?