P\left ( z \right )=z^{4}+bz^{2}+d \\\\ P'\left ( z \right )=4z^{3}+2bz \\\\ If \,\, 3i \,\, is \,\, a \,\, double \,\, root \,\, of \,\, P\left ( z \right ), \,\, then \,\, P'\left ( 3i \right )=0 \\\\ P'\left ( 3i \right )=-108i+6bi=0\Rightarrow b=18
Just an alternative solution.