Let us suppose n be the total number of turns and r is the radius of each turn.
Then,
n(2πr)=L
⇒nr=L2π ...(1)
Now, torque on the coil,
→τ=nI(→A×→B)=nI(πr2)Bsinθ ^η
⇒τ=IBLrsinθ2 [From (1)]
For maximum torque, sinθ=1 and r should be maximum.
⇒ n should be minimum. [From (1)]
∴n=1 [Minimum value]
Hence,
τmax=IBLr2=IBL2×L2π [From(1)]
⇒τmax=IBL24π=IBL2xπ
∴x=4