Calculus, ratio of length

Two wires A and B are made of the same material. Their lengths are in the ratio 1 : 2 and their diameters are in the ratio 2 : 1. If both are pulled with the same force, the ratio of their lengths will be: