As the coils are connected in parallel so voltage across them should be same. i.e,
i1R1=i2R2⇒i1i2=R2R1=(ρ2l2)/A2(ρ1l1)/A1
As they are made from same wire so cross section (A) and resistivity are same for both coil.i.e, A1=A2 and ρ1=ρ2.
thus, i1i2=l2l1=2πr22πr1=r2r1
The magnetic field at center of a coil of radius r1 is B1=μ0i12r1
The magnetic field at center of a coil of radius r2 is B2=μ0i22r2
B1B2=i1r2i2r1=(r2r1)2=(40/20)2=4 as i1/i2=r2/r1