A wire of length \( L \) is hanging from a fixed support. The length changes to \( L_{1} \) and \( L_{2} \) when masses \( 1 \, \text{kg} \) and \( 2 \, \text{kg} \) are suspended respectively from its free end. Then the value of \( L \) is equal to: