Let $E \subset \mathbb{R}$ a field containing $\mathbb{Q}$ such that the extension $E \vert \mathbb{Q}$ is Galois, and let $F := E(\sqrt{-1})$. Show that the extension $F \vert \mathbb{Q}$ is Galois.
Try:
To prove that the extension $F \vert \mathbb{Q}$ is Galois, we need to find a polynomial $f \in \mathbb{Q}[t]$ such that $F$ is a splitting field of $f$ over $\mathbb{Q}$. Consider
$$f(t):=t^2+1 \in \mathbb{Q}[t]$$
A splitting field of $f$ over $\mathbb{Q}$ is $\mathbb{Q}(i)$, and so is $F:= E(\sqrt{-1})$ since $\mathbb{Q} \subset E$. But since splitting fields are unique up to isomorphism, then
$$\mathbb{Q}(i) \simeq F$$
Now, since the extension $\mathbb{Q}(i) \vert \mathbb{Q}$ has degree $deg(f)=2$, it is Galois, so $F \vert \mathbb{Q}$ is Galois since its degree is $2$ as well.
There must be something in the argument above that is wrong, since I haven't used the fact that $E \vert \mathbb{Q}$ is Galois at all. So I'd like to know what and where went wrong. Also, if it is not too much to ask, some clue or hint that would point me into the right path to solve the problem. Thanks in advance!
In general if $F$ is a field and $K/F$ and $L/F$ are Galois extensions contained in some bigger extension $M/F$, then the composite extension $KL/F$ is Galois. To see this, note that if $K/F$ and $L/F$ are Galois, then they are splitting fields of separable polynomials $f(x),g(x) \in F[x]$. Therefore $KL/F$ is the splitting field of the separable polynomial $f(x)g(x) \in F[x]$, and is thus Galois.
In your case, you have $E/\mathbb{Q}$ is Galois and $F$ is the composite of $E/\mathbb{Q}$ and $\mathbb{Q}(i)/\mathbb{Q}$, which is Galois. Therefore $F/\mathbb{Q}$ is Galois. So the hypothesis $E \subset \mathbb{R}$ is not necessary.