The length of a constantan wire P is twice of the constantan wire Q and the ratio of the diameter of wire P to
wire Q is 1:3. Given that the resistance of the wire varies directly as the length and inversely as the square of the
diameter, find the resistance ratio of wire P to wire Q.