Resistance of wire made of same materials is proportional to the length and inversely proportional to the square of radius. Twice the length would double the resistance and halving the diameter would make the resistance to increase 4 times. In totality the resistance will increase 8 times.
So, resistance of A: Resistance of B= 1:8
Thanks for the question.