I tried to solve the exercise VIII.XX in Number Fields by Marcus. It asks to find the Hilbert class field of $Q(\sqrt m)$ for $m=-6,-10,-21,-30$. And the emphasis of this question is on the first two.
Attempt to solve the first case.
I knew that the class number of $K=Q(\sqrt{-6})$ is $2$, so its Hilbert class field extension $H/K$ is of degree $2$. Since all groups of order $4$ are abelian, we know that $H$ is also abelian over $Q$. Further, by the computation of the conductor, we know that $H\subset Q(\zeta_{24})$, where $\zeta_{24}$ is a $24$-th primitive root of unity. After we compute explicitly the galois group of $Q(\zeta_{24})/Q$ is isomorphic with h$C_2\times C_2\times C_2$. Noting that $\sqrt{-6}=(\zeta_8+\zeta_8^7)(1+2\zeta_3)$, we deduce that the galois group of $Q(\zeta_{24})/K$ is isomorphic with $G=C_2\times C_2$. So there are $3$ subgroups of $G$ of index $2$. And I cannot decide which one of them is the subgroup fixing $H$. Of course, if we write out all fixed fields of the three subgroups, then, by examining the decomposition of ideals, we can determine, or conclude, that $H=Q(\sqrt2,\sqrt{-3})$. But I think there must be a way of deciding this without this trial and error.
In fact, in the second case, $K=Q(\sqrt{-10})$, there are $7$ possibilities of $H$! After some calculations moreover, I found that $H=Q(\sqrt{-10},\sqrt5)$. But my method is again trial and error. And I want to find a way to determine $H$ without such brute force.
Question
Given a specific field $K/Q$, what is the standard, or the most efficient, way in determining its Hilber class field $H$?
I looked into Algebraic Number Fields by Janusz, but the example I found there is the case $Q(\sqrt{-5})$, in which the galois group of $Q(\zeta_{20})/K$ is cyclic of order $4$, thus having a unique subgroup of index $2$, and so cannot help me here.
Any help is greatly appreciated. Thanks in advance.