Hint: Use the formula of frequency of oscillation of a bar magnet.
Step 1: = circular coil of radius R, length L,
number of turns per unit length,
= square of side a and perimeter L, number of turns per unit length,
Step 2:
Step 3:
Plugging the values by Eqs. (i), (ii), (iii) and (iv);
Thus, the value of a is 3R.