(d) $\frac{M_{1}}{M_{2}} = \frac{\tan\theta_{1}}{\tan\theta_{2}} \Rightarrow \frac{m_{1}L_{1}}{m_{2}L_{2}} = \frac{\tan\theta_{1}}{\tan\theta_{2}}$
$\Rightarrow \frac{m_{1}}{m_{2}} = \frac{2}{1} \times \frac{\tan{45{^\circ}}}{\tan{30{^\circ}}} = \frac{2\sqrt{3}}{1}$