Two metallic wires whose masses are 12 g and 18 g have lengths in the ratio of 3 : 4. Their resistances are in the ratio of