This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] The needle oscillates in the horizontal plane, so $f\propto\sqrt{B_H}=\sqrt{B\cos\delta}$. $\frac{f_1^2}{f_2^2}=\frac{B_1\cos30^\circ}{B_2\cos60^\circ}\Rightarrow\frac{400}{900}=\frac{B_1}{B_2}\sqrt3\Rightarrow\frac{B_1}{B_2}=\frac4{9\sqrt3}=\frac4{\sqrt{243}}$. So $x=243$. Answer: 243.