(a) The weight of upper magnet should be balanced by the repulsion between the two magnets
$\therefore\frac{\mu_{0}}{4\pi}.\frac{m^{2}}{r^{2}} = 50\ gwt$
$\Rightarrow 10^{- 7} \times \frac{m^{2}}{(9 \times 10^{- 6})} = 50 \times 10^{- 3} \times 9.8$
$\Rightarrow m = - 6.64\ amp \times m$