To develop this problem it is necessary to have the concepts related to Ohm's law and resistivity.
Ohm's law is defined by the equation

Where
R=Resistence
I = current
V= Voltage
While the resistivity equation is given by

Where
resistivity
A= cross-section area
R= Resistance
L=Lenght of wire
A) We can find the resistence re-arranging our first equation, so



B) From our second equation we can re-arrange for L, so



