The size of the image of an object, formed by a thin lens are equal when the object is placed at two different positions \( 8 \; \mathrm{cm} \) and \( 24 \; \mathrm{cm} \) from the lens. The focal length of the lens is ______ \( \mathrm{cm} \).